1. the standard dpm is not support before.
2. use auto profile to adapt standard profile.

Change-Id: Ib4bfbfe2e5e73c55c9cd2bbd968e102136cc6852
Signed-off-by: Kevin Wang <[email protected]>
---
 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 
b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
index ce77bb3ecff3..da4332d2dbbc 100644
--- a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
+++ b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
@@ -1333,10 +1333,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:
-- 
2.22.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to