diff options
Diffstat (limited to 'drivers/gpu/nvgpu/clk/clk_arb.c')
-rw-r--r-- | drivers/gpu/nvgpu/clk/clk_arb.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk_arb.c b/drivers/gpu/nvgpu/clk/clk_arb.c index ac37d03f..8c27b613 100644 --- a/drivers/gpu/nvgpu/clk/clk_arb.c +++ b/drivers/gpu/nvgpu/clk/clk_arb.c | |||
@@ -1178,7 +1178,8 @@ static void nvgpu_clk_arb_run_arbiter_cb(struct work_struct *work) | |||
1178 | nvgpu_mutex_acquire(&arb->pstate_lock); | 1178 | nvgpu_mutex_acquire(&arb->pstate_lock); |
1179 | status = nvgpu_lpwr_disable_pg(g, false); | 1179 | status = nvgpu_lpwr_disable_pg(g, false); |
1180 | 1180 | ||
1181 | status = clk_pmu_freq_controller_load(g, false); | 1181 | status = clk_pmu_freq_controller_load(g, false, |
1182 | CTRL_CLK_CLK_FREQ_CONTROLLER_ID_ALL); | ||
1182 | if (status < 0) { | 1183 | if (status < 0) { |
1183 | arb->status = status; | 1184 | arb->status = status; |
1184 | nvgpu_mutex_release(&arb->pstate_lock); | 1185 | nvgpu_mutex_release(&arb->pstate_lock); |
@@ -1209,7 +1210,8 @@ static void nvgpu_clk_arb_run_arbiter_cb(struct work_struct *work) | |||
1209 | goto exit_arb; | 1210 | goto exit_arb; |
1210 | } | 1211 | } |
1211 | 1212 | ||
1212 | status = clk_pmu_freq_controller_load(g, true); | 1213 | status = clk_pmu_freq_controller_load(g, true, |
1214 | CTRL_CLK_CLK_FREQ_CONTROLLER_ID_ALL); | ||
1213 | if (status < 0) { | 1215 | if (status < 0) { |
1214 | arb->status = status; | 1216 | arb->status = status; |
1215 | nvgpu_mutex_release(&arb->pstate_lock); | 1217 | nvgpu_mutex_release(&arb->pstate_lock); |