diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/pmu_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c index eb62caaf..f77ad10b 100644 --- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | |||
@@ -1124,6 +1124,13 @@ static int pmu_enable_hw(struct pmu_gk20a *pmu, bool enable) | |||
1124 | int retries = GR_IDLE_CHECK_MAX / GR_IDLE_CHECK_DEFAULT; | 1124 | int retries = GR_IDLE_CHECK_MAX / GR_IDLE_CHECK_DEFAULT; |
1125 | gk20a_enable(g, mc_enable_pwr_enabled_f()); | 1125 | gk20a_enable(g, mc_enable_pwr_enabled_f()); |
1126 | 1126 | ||
1127 | if (g->ops.clock_gating.slcg_pmu_load_gating_prod) | ||
1128 | g->ops.clock_gating.slcg_pmu_load_gating_prod(g, | ||
1129 | g->slcg_enabled); | ||
1130 | if (g->ops.clock_gating.blcg_pmu_load_gating_prod) | ||
1131 | g->ops.clock_gating.blcg_pmu_load_gating_prod(g, | ||
1132 | g->blcg_enabled); | ||
1133 | |||
1127 | do { | 1134 | do { |
1128 | u32 w = gk20a_readl(g, pwr_falcon_dmactl_r()) & | 1135 | u32 w = gk20a_readl(g, pwr_falcon_dmactl_r()) & |
1129 | (pwr_falcon_dmactl_dmem_scrubbing_m() | | 1136 | (pwr_falcon_dmactl_dmem_scrubbing_m() | |