aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorKevin Wang <kevin1.wang@amd.com>2019-07-12 14:42:12 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-07-16 13:03:10 -0500
commit75728f512e1f6cc37da9c173b7a7690b10b1c3f5 (patch)
tree442b577e323f8cd19c721a8eeeebebe6b1b9f064 /drivers/gpu
parentdrm/amd/powerplay: add socclk profile dpm support. (diff)
downloadlinux-dev-75728f512e1f6cc37da9c173b7a7690b10b1c3f5.tar.xz
linux-dev-75728f512e1f6cc37da9c173b7a7690b10b1c3f5.zip
drm/amd/powerplay: add standard profile dpm support for smu
1. the standard dpm is not support before. 2. use auto profile to adapt standard profile. Signed-off-by: Kevin Wang <kevin1.wang@amd.com> Reviewed-by: Evan Quan <evan.quan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/powerplay/amdgpu_smu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
index 5f844357e6ac..e6f103988c6a 100644
--- a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
+++ b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
@@ -1378,10 +1378,10 @@ int smu_adjust_power_state_dynamic(struct smu_context *smu,
break;
case AMD_DPM_FORCED_LEVEL_AUTO:
+ case AMD_DPM_FORCED_LEVEL_PROFILE_STANDARD:
ret = smu_unforce_dpm_levels(smu);
break;
- case AMD_DPM_FORCED_LEVEL_PROFILE_STANDARD:
case AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK:
case AMD_DPM_FORCED_LEVEL_PROFILE_MIN_MCLK:
case AMD_DPM_FORCED_LEVEL_PROFILE_PEAK: