]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: update smartshift powerboost calc for smu13
authorSathishkumar S <sathishkumar.sundararaju@amd.com>
Wed, 11 May 2022 11:05:59 +0000 (16:35 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 May 2022 14:02:57 +0000 (10:02 -0400)
commit6b152c01954ad936b5aa0e80dad7fb995d882587
tree3943c5b2cebf5ec1bb02c676bfdd211e4a980637
parentdc89fad04758e4f33e9f827c8a1c41162ff62126
drm/amd/pm: update smartshift powerboost calc for smu13

smartshift apu and dgpu power boost are reported as percentage
with respect to their power limits. adjust the units of power before
calculating the percentage of boost.

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>
drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c