mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
drm/amdgpu/cz: fix cz_dpm_update_low_memory_pstate logic
The logic was reversed. This feature is not enabled at the moment, but fix it now for the future. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
99a0923837
commit
362eda04ba
1 changed files with 2 additions and 2 deletions
|
@ -1596,9 +1596,9 @@ static int cz_dpm_update_low_memory_pstate(struct amdgpu_device *adev)
|
|||
|
||||
if (pi->sys_info.nb_dpm_enable) {
|
||||
if (ps->force_high)
|
||||
cz_dpm_nbdpm_lm_pstate_enable(adev, true);
|
||||
else
|
||||
cz_dpm_nbdpm_lm_pstate_enable(adev, false);
|
||||
else
|
||||
cz_dpm_nbdpm_lm_pstate_enable(adev, true);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue