diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index f56702dc..7631decf 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -3235,7 +3235,7 @@ int gk20a_alloc_obj_ctx(struct channel_gk20a *c, | |||
3235 | u32 lockboost; | 3235 | u32 lockboost; |
3236 | 3236 | ||
3237 | if (g->support_pmu) { | 3237 | if (g->support_pmu) { |
3238 | err = gk20a_pmu_disable_elpg(g); | 3238 | err = nvgpu_pmu_disable_elpg(g); |
3239 | if (err) { | 3239 | if (err) { |
3240 | nvgpu_err(g, | 3240 | nvgpu_err(g, |
3241 | "failed to set disable elpg"); | 3241 | "failed to set disable elpg"); |
@@ -3285,7 +3285,7 @@ int gk20a_alloc_obj_ctx(struct channel_gk20a *c, | |||
3285 | args->flags |= NVGPU_ALLOC_OBJ_FLAGS_LOCKBOOST_ZERO; | 3285 | args->flags |= NVGPU_ALLOC_OBJ_FLAGS_LOCKBOOST_ZERO; |
3286 | 3286 | ||
3287 | if (g->support_pmu && g->can_elpg) | 3287 | if (g->support_pmu && g->can_elpg) |
3288 | gk20a_pmu_enable_elpg(g); | 3288 | nvgpu_pmu_enable_elpg(g); |
3289 | } | 3289 | } |
3290 | 3290 | ||
3291 | /* init golden image, ELPG enabled after this is done */ | 3291 | /* init golden image, ELPG enabled after this is done */ |