diff options
Diffstat (limited to 'drivers/gpu/nvgpu/lpwr')
-rw-r--r-- | drivers/gpu/nvgpu/lpwr/lpwr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/lpwr/lpwr.c b/drivers/gpu/nvgpu/lpwr/lpwr.c index 85acfd67..95eea2e3 100644 --- a/drivers/gpu/nvgpu/lpwr/lpwr.c +++ b/drivers/gpu/nvgpu/lpwr/lpwr.c | |||
@@ -363,7 +363,7 @@ int nvgpu_lpwr_enable_pg(struct gk20a *g, bool pstate_lock) | |||
363 | present_pstate); | 363 | present_pstate); |
364 | if (is_rppg_supported) { | 364 | if (is_rppg_supported) { |
365 | if (g->support_pmu && g->can_elpg) | 365 | if (g->support_pmu && g->can_elpg) |
366 | status = gk20a_pmu_enable_elpg(g); | 366 | status = nvgpu_pmu_enable_elpg(g); |
367 | } | 367 | } |
368 | 368 | ||
369 | nvgpu_mutex_release(&pmu->pg_mutex); | 369 | nvgpu_mutex_release(&pmu->pg_mutex); |
@@ -393,7 +393,7 @@ int nvgpu_lpwr_disable_pg(struct gk20a *g, bool pstate_lock) | |||
393 | present_pstate); | 393 | present_pstate); |
394 | if (is_rppg_supported) { | 394 | if (is_rppg_supported) { |
395 | if (g->support_pmu && g->elpg_enabled) { | 395 | if (g->support_pmu && g->elpg_enabled) { |
396 | status = gk20a_pmu_disable_elpg(g); | 396 | status = nvgpu_pmu_disable_elpg(g); |
397 | if (status) | 397 | if (status) |
398 | goto exit_unlock; | 398 | goto exit_unlock; |
399 | } | 399 | } |