]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/swm14: Update power limit logic
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 8 Aug 2025 17:12:07 +0000 (13:12 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 18 Aug 2025 21:41:43 +0000 (17:41 -0400)
commit79e25cd06e85105c75701ef1773c6c64bb304091
tree3eed4a863424effe2e8b094ebdd17a25947994a7
parent0aa86640ebd98d77fb64acef5684e42fba517d2d
drm/amdgpu/swm14: Update power limit logic

Take into account the limits from the vbios.  Ported
from the SMU13 code.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4352
Reviewed-by: Jesse Zhang <Jesse.Zhang@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 203cc7f1dd86f2c8de5c3c6182f19adac7c9c206)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c