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 57cd266d..ac03c1e5 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -3231,7 +3231,7 @@ int gk20a_alloc_obj_ctx(struct channel_gk20a *c, | |||
3231 | u32 lockboost_mask; | 3231 | u32 lockboost_mask; |
3232 | u32 lockboost; | 3232 | u32 lockboost; |
3233 | 3233 | ||
3234 | if (support_gk20a_pmu(g->dev)) { | 3234 | if (g->support_pmu) { |
3235 | err = gk20a_pmu_disable_elpg(g); | 3235 | err = gk20a_pmu_disable_elpg(g); |
3236 | if (err) { | 3236 | if (err) { |
3237 | nvgpu_err(g, | 3237 | nvgpu_err(g, |
@@ -3281,7 +3281,7 @@ int gk20a_alloc_obj_ctx(struct channel_gk20a *c, | |||
3281 | 3281 | ||
3282 | args->flags |= NVGPU_ALLOC_OBJ_FLAGS_LOCKBOOST_ZERO; | 3282 | args->flags |= NVGPU_ALLOC_OBJ_FLAGS_LOCKBOOST_ZERO; |
3283 | 3283 | ||
3284 | if (support_gk20a_pmu(g->dev)) | 3284 | if (g->support_pmu) |
3285 | gk20a_pmu_enable_elpg(g); | 3285 | gk20a_pmu_enable_elpg(g); |
3286 | } | 3286 | } |
3287 | 3287 | ||