diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c index 4654491f..af6ff1da 100644 --- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | |||
@@ -3376,7 +3376,6 @@ static void pmu_handle_pg_elpg_msg(struct gk20a *g, struct pmu_msg *msg, | |||
3376 | else if (elpg_msg->engine_id == PMU_PG_ELPG_ENGINE_ID_MS) | 3376 | else if (elpg_msg->engine_id == PMU_PG_ELPG_ENGINE_ID_MS) |
3377 | *ack_status = 1; | 3377 | *ack_status = 1; |
3378 | if (pmu->pmu_state == PMU_STATE_ELPG_BOOTING) { | 3378 | if (pmu->pmu_state == PMU_STATE_ELPG_BOOTING) { |
3379 | pmu->pmu_state = PMU_STATE_ELPG_BOOTED; | ||
3380 | if (g->ops.pmu.pmu_pg_engines_feature_list && | 3379 | if (g->ops.pmu.pmu_pg_engines_feature_list && |
3381 | g->ops.pmu.pmu_pg_engines_feature_list(g, | 3380 | g->ops.pmu.pmu_pg_engines_feature_list(g, |
3382 | PMU_PG_ELPG_ENGINE_ID_GRAPHICS) != | 3381 | PMU_PG_ELPG_ENGINE_ID_GRAPHICS) != |
@@ -3384,8 +3383,10 @@ static void pmu_handle_pg_elpg_msg(struct gk20a *g, struct pmu_msg *msg, | |||
3384 | pmu->initialized = true; | 3383 | pmu->initialized = true; |
3385 | pmu->pmu_state = PMU_STATE_STARTED; | 3384 | pmu->pmu_state = PMU_STATE_STARTED; |
3386 | pmu->mscg_stat = PMU_MSCG_DISABLED; | 3385 | pmu->mscg_stat = PMU_MSCG_DISABLED; |
3387 | } else | 3386 | } else { |
3387 | pmu->pmu_state = PMU_STATE_ELPG_BOOTED; | ||
3388 | schedule_work(&pmu->pg_init); | 3388 | schedule_work(&pmu->pg_init); |
3389 | } | ||
3389 | } | 3390 | } |
3390 | break; | 3391 | break; |
3391 | default: | 3392 | default: |