]> 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)
commitb4222475e9f5f18973b62bd6303cb75d26ff99bb
tree3943c5b2cebf5ec1bb02c676bfdd211e4a980637
parentf204be4743391d2db410a263b5338e4b8257f06f
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