drm/amdgpu/pm: Remove the duplicate dpm status check
authorJesse Zhang <Jesse.Zhang@amd.com>
Wed, 23 Aug 2023 06:54:21 +0000 (14:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Aug 2023 19:21:17 +0000 (15:21 -0400)
commit2c017263896314cd7cfc4454be1d3bb5ac2d837a
tree20182f66ed3761fb16dfbf509e2855c63758fe16
parent102b80f682463235e22758bc03e6e5ab167a0ca7
drm/amdgpu/pm: Remove the duplicate dpm status check

Since the smu firmware has fixed the issue that described in the commit 60d61f4ed6ea
("drm/amdgpu/pm: fix the Stable pstate Test in amdgpu_test").
So we only need keep dpm status check in the funciton - smu_v13_0_5_set_soft_freq_limited_range.

Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_5_ppt.c