diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 17a06099..8728c9a7 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -993,7 +993,6 @@ struct gpu_ops { | |||
993 | void (*isr)(struct gk20a *g); | 993 | void (*isr)(struct gk20a *g); |
994 | } priv_ring; | 994 | } priv_ring; |
995 | bool privsecurity; | 995 | bool privsecurity; |
996 | bool securegpccs; | ||
997 | }; | 996 | }; |
998 | 997 | ||
999 | struct nvgpu_bios_ucode { | 998 | struct nvgpu_bios_ucode { |
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 | ||