diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index 73cfa3bf..c59132f2 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -2999,7 +2999,7 @@ int gk20a_alloc_obj_ctx(struct channel_gk20a *c, u32 class_num, u32 flags) | |||
2999 | u32 lockboost_mask; | 2999 | u32 lockboost_mask; |
3000 | u32 lockboost; | 3000 | u32 lockboost; |
3001 | 3001 | ||
3002 | if (g->support_pmu) { | 3002 | if (g->support_pmu && g->can_elpg) { |
3003 | err = nvgpu_pmu_disable_elpg(g); | 3003 | err = nvgpu_pmu_disable_elpg(g); |
3004 | if (err) { | 3004 | if (err) { |
3005 | nvgpu_err(g, | 3005 | nvgpu_err(g, |