summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
diff options
context:
space:
mode:
authorSunny He <suhe@nvidia.com>2017-06-28 17:16:53 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-07-26 05:44:23 -0400
commitde3ad1a94974b08268a485136f04b8e436ef2579 (patch)
tree15910cd769e91f6600fef0546b501faf65e1fa50 /drivers/gpu/nvgpu/gk20a/gr_gk20a.c
parent92f6eb016cc759b24e249ed6c17cff537cc35db7 (diff)
gpu: nvgpu: Remove securegpccs flag from gpu_ops
Replace securegpccs boolean flag in gpu_ops with entry in common flag system. The new common flag is NVGPU_SEC_SECUREGPCCS Jira NVGPU-74 Change-Id: I46430f95063f617531cf0e5aba472051b41f4a9d Signed-off-by: Sunny He <suhe@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1514060 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Alex Waterman <alexw@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index d0c4dec7..cc57b09f 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -2400,7 +2400,8 @@ static int gr_gk20a_wait_ctxsw_ready(struct gk20a *g)
2400 return ret; 2400 return ret;
2401 } 2401 }
2402 2402
2403 if (g->ops.gr_ctx.use_dma_for_fw_bootstrap || g->ops.securegpccs) 2403 if (g->ops.gr_ctx.use_dma_for_fw_bootstrap ||
2404 nvgpu_is_enabled(g, NVGPU_SEC_SECUREGPCCS))
2404 gk20a_writel(g, gr_fecs_current_ctx_r(), 2405 gk20a_writel(g, gr_fecs_current_ctx_r(),
2405 gr_fecs_current_ctx_valid_false_f()); 2406 gr_fecs_current_ctx_valid_false_f());
2406 2407