mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
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>
This commit is contained in:
parent
5952c75b41
commit
0f18563aaa
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue