drm/amd/powerplay: Enable low mem pstate when cancel_high
authorEric Yang <eric.yang2@amd.com>
Wed, 16 Dec 2015 00:00:59 +0000 (19:00 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Feb 2016 21:19:29 +0000 (16:19 -0500)
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>
drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c

index dfff4bd99aef166c1533cee8c465f5225a0e857f..ef1daf1251c7e8e610de201bf183e2cd022ad61f 100644 (file)
@@ -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);
        }