mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 21:52:04 +00:00
drm/amdgpu/cz: store the forced dpm level
So the selected forced level shows up properly in sysfs. Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
85cfe09655
commit
58829aa67d
@ -1717,6 +1717,8 @@ static int cz_dpm_force_dpm_level(struct amdgpu_device *adev,
|
||||
break;
|
||||
}
|
||||
|
||||
adev->pm.dpm.forced_level = level;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user