From: Eric Yang Date: Wed, 16 Dec 2015 00:00:59 +0000 (-0500) Subject: drm/amd/powerplay: Enable low mem pstate when cancel_high X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0f18563aaa22f7dd1712c20973482225aa13942a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/amd/powerplay: Enable low mem pstate when cancel_high Signed-off-by: Eric Yang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- 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); }