drm/amd/smu: use AverageGfxclkFrequency* to replace previous GFX Curr Clock
authorJane Jian <Jane.Jian@amd.com>
Thu, 20 Jul 2023 10:08:07 +0000 (18:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jul 2023 20:17:17 +0000 (16:17 -0400)
commit4a37c55b859a69f429bfa7fab4fc43ee470b60ed
treeae6b12817f4a84736e1f3fb74731958fbec9a8ab
parentc01aebeef3ce45f696ffa0a1303cea9b34babb45
drm/amd/smu: use AverageGfxclkFrequency* to replace previous GFX Curr Clock

Report current GFX clock also from average clock value as the original
CurrClock data is not valid/accurate any more as per FW team

Signed-off-by: Jane Jian <Jane.Jian@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c