Skip to content

Commit 94e6687

Browse files
Lijo Lazargregkh
authored andcommitted
drm/amd/pm: Fetch current power limit from PMFW
[ Upstream commit b2a9e56 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 098788e commit 94e6687

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
@@ -2772,6 +2772,7 @@ int smu_get_power_limit(void *handle,
27722772
switch (amdgpu_ip_version(adev, MP1_HWIP, 0)) {
27732773
case IP_VERSION(13, 0, 2):
27742774
case IP_VERSION(13, 0, 6):
2775+
case IP_VERSION(13, 0, 12):
27752776
case IP_VERSION(13, 0, 14):
27762777
case IP_VERSION(11, 0, 7):
27772778
case IP_VERSION(11, 0, 11):

0 commit comments

Comments
 (0)