OSDN Git Service

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 17:34:55 +0000 (13:34 -0400)
commit8cddd3dc3c53b2612d5de0ef9416b661695557a5
treeac5ec39b80f3b251e2dc231019684ca428cc3867
parentf135b0fc3110e39b7ac79a932bd0b7eadb337896
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