aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Yang <[email protected]>2015-12-15 19:00:59 -0500
committerAlex Deucher <[email protected]>2016-02-10 16:19:29 -0500
commit0f18563aaa22f7dd1712c20973482225aa13942a (patch)
treed78985fe8afbe92c7877c833d1009fd073185ec7
parent5952c75b4151f47c47571e2a92dfd556fdabed2d (diff)
drm/amd/powerplay: Enable low mem pstate when cancel_high
Signed-off-by: Eric Yang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
index dfff4bd99aef..ef1daf1251c7 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
@@ -884,7 +884,7 @@ static int cz_tf_update_low_mem_pstate(struct pp_hwmgr *hwmgr,
if (pnew_state->action == FORCE_HIGH)
cz_nbdpm_pstate_enable_disable(hwmgr, false, disable_switch);
else if (pnew_state->action == CANCEL_FORCE_HIGH)
- cz_nbdpm_pstate_enable_disable(hwmgr, false, disable_switch);
+ cz_nbdpm_pstate_enable_disable(hwmgr, true, disable_switch);
else
cz_nbdpm_pstate_enable_disable(hwmgr, enable_low_mem_state, disable_switch);
}