diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c b/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c index 1e247859..c1cca445 100644 --- a/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c | |||
@@ -663,14 +663,16 @@ static int dbg_set_powergate(struct dbg_session_gk20a *dbg_s, | |||
663 | --g->dbg_powergating_disabled_refcount == 0) { | 663 | --g->dbg_powergating_disabled_refcount == 0) { |
664 | 664 | ||
665 | g->elcg_enabled = true; | 665 | g->elcg_enabled = true; |
666 | gr_gk20a_init_elcg_mode(g, ELCG_AUTO, ENGINE_GR_GK20A); | ||
667 | gr_gk20a_init_elcg_mode(g, ELCG_AUTO, ENGINE_CE2_GK20A); | 666 | gr_gk20a_init_elcg_mode(g, ELCG_AUTO, ENGINE_CE2_GK20A); |
667 | gr_gk20a_init_elcg_mode(g, ELCG_AUTO, ENGINE_GR_GK20A); | ||
668 | gr_gk20a_init_blcg_mode(g, BLCG_AUTO, ENGINE_GR_GK20A); | 668 | gr_gk20a_init_blcg_mode(g, BLCG_AUTO, ENGINE_GR_GK20A); |
669 | 669 | ||
670 | g->ops.clock_gating.slcg_gr_load_gating_prod(g, | 670 | g->ops.clock_gating.slcg_ltc_load_gating_prod(g, |
671 | g->slcg_enabled); | 671 | g->slcg_enabled); |
672 | g->ops.clock_gating.slcg_perf_load_gating_prod(g, | 672 | g->ops.clock_gating.slcg_perf_load_gating_prod(g, |
673 | g->slcg_enabled); | 673 | g->slcg_enabled); |
674 | g->ops.clock_gating.slcg_gr_load_gating_prod(g, | ||
675 | g->slcg_enabled); | ||
674 | 676 | ||
675 | if (support_gk20a_pmu(g->dev)) | 677 | if (support_gk20a_pmu(g->dev)) |
676 | gk20a_pmu_enable_elpg(g); | 678 | gk20a_pmu_enable_elpg(g); |