diff --git a/drivers/gpu/nvgpu/hal/init/hal_gv11b.c b/drivers/gpu/nvgpu/hal/init/hal_gv11b.c index 7746899dc..8faa5dd7c 100644 --- a/drivers/gpu/nvgpu/hal/init/hal_gv11b.c +++ b/drivers/gpu/nvgpu/hal/init/hal_gv11b.c @@ -216,7 +216,6 @@ static int gv11b_init_gpu_characteristics(struct gk20a *g) return err; } - g->ops.gr.ecc.detect(g); nvgpu_set_enabled(g, NVGPU_SUPPORT_TSG_SUBCONTEXTS, true); nvgpu_set_enabled(g, NVGPU_SUPPORT_SCG, true); #ifdef CONFIG_NVGPU_CHANNEL_TSG_SCHEDULING @@ -1604,6 +1603,8 @@ int gv11b_init_hal(struct gk20a *g) */ nvgpu_set_enabled(g, NVGPU_MM_BYPASSES_IOMMU, true); + g->ops.gr.ecc.detect(g); + #ifdef CONFIG_NVGPU_SM_DIVERSITY /* * To achieve permanent fault coverage, the CTAs launched by each kernel