summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index c48d7cf8..9ce2ef53 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -281,10 +281,14 @@ int gk20a_finalize_poweron(struct gk20a *g)
281 } 281 }
282 } 282 }
283 283
284 err = nvgpu_clk_arb_init_arbiter(g); 284 if (g->ops.pmu_ver.clk.clk_set_boot_clk && nvgpu_is_enabled(g, NVGPU_PMU_PSTATE))
285 if (err) { 285 g->ops.pmu_ver.clk.clk_set_boot_clk(g);
286 nvgpu_err(g, "failed to init clk arb"); 286 else {
287 goto done; 287 err = nvgpu_clk_arb_init_arbiter(g);
288 if (err) {
289 nvgpu_err(g, "failed to init clk arb");
290 goto done;
291 }
288 } 292 }
289 293
290 err = gk20a_init_therm_support(g); 294 err = gk20a_init_therm_support(g);