drm/amd/pm: update smartshift powerboost calc for smu12
authorSathishkumar S <sathishkumar.sundararaju@amd.com>
Wed, 11 May 2022 10:36:12 +0000 (16:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jun 2022 08:22:38 +0000 (10:22 +0200)
commitc525d3385f6d34d6dcce89ebe019314d83f23873
tree0c01fe87e0423d796a6ae3fc54a1b61629ea8538
parentc2673b86b4195260ba41de97fc9c10d17250ff8e
drm/amd/pm: update smartshift powerboost calc for smu12

[ Upstream commit 138292f1dc00e7e0724f44769f9da39cf2f3bf0b ]

smartshift apu and dgpu power boost are reported as percentage with
respect to their power limits. This value[0-100] reflects the boost
for the respective device.

Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@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/smu12/renoir_ppt.c