Skip to content

Commit b2a9e56

Browse files
Lijo Lazaralexdeucher
authored andcommitted
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>
1 parent c4c3808 commit b2a9e56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2791,6 +2791,7 @@ int smu_get_power_limit(void *handle,
27912791
switch (amdgpu_ip_version(adev, MP1_HWIP, 0)) {
27922792
case IP_VERSION(13, 0, 2):
27932793
case IP_VERSION(13, 0, 6):
2794+
case IP_VERSION(13, 0, 12):
27942795
case IP_VERSION(13, 0, 14):
27952796
case IP_VERSION(11, 0, 7):
27962797
case IP_VERSION(11, 0, 11):

0 commit comments

Comments
 (0)