diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index d7c80b91..037f0df4 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -2367,7 +2367,7 @@ int gr_gk20a_load_ctxsw_ucode(struct gk20a *g) | |||
2367 | * In case bootloader is not supported, revert to the old way of | 2367 | * In case bootloader is not supported, revert to the old way of |
2368 | * loading gr ucode, without the faster bootstrap routine. | 2368 | * loading gr ucode, without the faster bootstrap routine. |
2369 | */ | 2369 | */ |
2370 | if (!g->ops.gr_ctx.use_dma_for_fw_bootstrap) { | 2370 | if (!nvgpu_is_enabled(g, NVGPU_GR_USE_DMA_FOR_FW_BOOTSTRAP)) { |
2371 | gr_gk20a_load_falcon_dmem(g); | 2371 | gr_gk20a_load_falcon_dmem(g); |
2372 | gr_gk20a_load_falcon_imem(g); | 2372 | gr_gk20a_load_falcon_imem(g); |
2373 | gr_gk20a_start_falcon_ucode(g); | 2373 | gr_gk20a_start_falcon_ucode(g); |
@@ -2400,7 +2400,7 @@ 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 || | 2403 | if (nvgpu_is_enabled(g, NVGPU_GR_USE_DMA_FOR_FW_BOOTSTRAP) || |
2404 | nvgpu_is_enabled(g, NVGPU_SEC_SECUREGPCCS)) | 2404 | nvgpu_is_enabled(g, NVGPU_SEC_SECUREGPCCS)) |
2405 | gk20a_writel(g, gr_fecs_current_ctx_r(), | 2405 | gk20a_writel(g, gr_fecs_current_ctx_r(), |
2406 | gr_fecs_current_ctx_valid_false_f()); | 2406 | gr_fecs_current_ctx_valid_false_f()); |