]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/pm: Fetch current power limit from PMFW
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 18 Feb 2025 12:13:01 +0000 (17:43 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Feb 2025 20:16:18 +0000 (15:16 -0500)
commitb2a9e562dfa156bd53e62ce571f3f8f65d243f14
tree2f1b136543ff4b8a87975a9c20a2ae075806c2e5
parentc4c3808feb9c279a66519a064908cd06e5800da5
drm/amd/pm: Fetch current power limit from PMFW

On SMU v13.0.12, always query the firmware to get the current power
limit as it could be updated through other means also.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c