diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r-- | drivers/gpu/nvgpu/common/pmu/pmu_pg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/pmu/pmu_pg.c b/drivers/gpu/nvgpu/common/pmu/pmu_pg.c index 3cdeedcc..ca74f243 100644 --- a/drivers/gpu/nvgpu/common/pmu/pmu_pg.c +++ b/drivers/gpu/nvgpu/common/pmu/pmu_pg.c | |||
@@ -206,7 +206,7 @@ int nvgpu_pmu_enable_elpg(struct gk20a *g) | |||
206 | pg_engine_id++) { | 206 | pg_engine_id++) { |
207 | 207 | ||
208 | if (pg_engine_id == PMU_PG_ELPG_ENGINE_ID_MS && | 208 | if (pg_engine_id == PMU_PG_ELPG_ENGINE_ID_MS && |
209 | ACCESS_ONCE(pmu->mscg_stat) == PMU_MSCG_DISABLED) | 209 | pmu->mscg_stat == PMU_MSCG_DISABLED) |
210 | continue; | 210 | continue; |
211 | 211 | ||
212 | if (BIT(pg_engine_id) & pg_engine_id_list) | 212 | if (BIT(pg_engine_id) & pg_engine_id_list) |
@@ -281,7 +281,7 @@ int nvgpu_pmu_disable_elpg(struct gk20a *g) | |||
281 | pg_engine_id++) { | 281 | pg_engine_id++) { |
282 | 282 | ||
283 | if (pg_engine_id == PMU_PG_ELPG_ENGINE_ID_MS && | 283 | if (pg_engine_id == PMU_PG_ELPG_ENGINE_ID_MS && |
284 | ACCESS_ONCE(pmu->mscg_stat) == PMU_MSCG_DISABLED) | 284 | pmu->mscg_stat == PMU_MSCG_DISABLED) |
285 | continue; | 285 | continue; |
286 | 286 | ||
287 | if (BIT(pg_engine_id) & pg_engine_id_list) { | 287 | if (BIT(pg_engine_id) & pg_engine_id_list) { |