drm/amd/pm: print pp_dpm_mclk in ascending order on SMU v14.0.0
authorTim Huang <tim.huang@amd.com>
Mon, 28 Oct 2024 05:51:50 +0000 (13:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Nov 2024 19:05:39 +0000 (14:05 -0500)
commitdf0279e2a1c0735e8ca80c5df8d9f8f9fc120b4a
treeb782d94aaf33f3f0e6a36334cbbd9983d1802acb
parentd641a151fcaf0d043075b214b469a14abab25af2
drm/amd/pm: print pp_dpm_mclk in ascending order on SMU v14.0.0

Currently, the pp_dpm_mclk values are reported in descending order
on SMU IP v14.0.0/1/4. Adjust to ascending order for consistency
with other clock interfaces.

Signed-off-by: Tim Huang <tim.huang@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit d4be16ccfd5bf822176740a51ff2306679a2247e)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_0_ppt.c