Skip to content

Commit f180768

Browse files
Lijo Lazaralexdeucher
authored andcommitted
drm/amd/pm: Fetch current power limit from FW
Power limit of SMUv13.0.6 SOCs can be updated by out-of-band ways. Fetch the limit from firmware instead of using cached values. 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> Cc: stable@vger.kernel.org # 6.7.x
1 parent bc8f6d4 commit f180768

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2703,6 +2703,7 @@ int smu_get_power_limit(void *handle,
27032703
case SMU_PPT_LIMIT_CURRENT:
27042704
switch (amdgpu_ip_version(adev, MP1_HWIP, 0)) {
27052705
case IP_VERSION(13, 0, 2):
2706+
case IP_VERSION(13, 0, 6):
27062707
case IP_VERSION(11, 0, 7):
27072708
case IP_VERSION(11, 0, 11):
27082709
case IP_VERSION(11, 0, 12):

0 commit comments

Comments
 (0)