]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:47:52 +0000 (09:47 +0200)
commit4c155ffd3662918691538f95dbf4cda760652927
treee5263affc68e9305ad73a0fd8552cece8e70a3d5
parentdc02b084304023732c423687fc2986b55ed1213f
drm/amd/smu: use AverageGfxclkFrequency* to replace previous GFX Curr Clock

[ Upstream commit 4a37c55b859a69f429bfa7fab4fc43ee470b60ed ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c