diff options
author | Eric Yang <eric.yang2@amd.com> | 2015-12-16 01:00:59 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-02-10 22:19:29 +0100 |
commit | 0f18563aaa22f7dd1712c20973482225aa13942a (patch) | |
tree | d78985fe8afbe92c7877c833d1009fd073185ec7 /drivers/gpu | |
parent | drm/amd/powerplay: Use correct clock in cz_apply_state_adjust_rules (diff) | |
download | linux-0f18563aaa22f7dd1712c20973482225aa13942a.tar.xz linux-0f18563aaa22f7dd1712c20973482225aa13942a.zip |
drm/amd/powerplay: Enable low mem pstate when cancel_high
Signed-off-by: Eric Yang <eric.yang2@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c | 2 |
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); } |