drm/amd/pm: pp_dpm_sclk change for smu_v13_0_7
authorKenneth Feng <kenneth.feng@amd.com>
Tue, 19 Apr 2022 06:51:36 +0000 (14:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2022 20:53:49 +0000 (16:53 -0400)
commitdb8725718ae565f002bc7a9f721629c98e90b8a2
tree9bff0bc5f0c5c751e3140d5d61e366401e2eba4c
parente575aa69e1dc3d849876905e10dbdb4de10575eb
drm/amd/pm: pp_dpm_sclk change for smu_v13_0_7

fetch the average gfxclk according to pmfw for smu_v13_0_7

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c