Skip to contentSkip to conversation

drm/amdgpu/pm: update SMU 13.0.0 PMFW version check

PATCH In review Alex Deucher 2 participants 2 messages Oct 12, 2023 – Oct 13, 2023

Subsystems (3)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/1 drm/amdgpu/pm: update SMU 13.0.0 PMFW version check

Update the PMFW version check the the ROCm optimizations.

---
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c +1 -1
index 56b11f6386df..cb7e1a22d7ef 100644
@@ -2562,7 +2562,7 @@ static int smu_v13_0_0_set_power_profile_mode(struct smu_context *smu,
 	if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_COMPUTE &&
 	    (amdgpu_ip_version(smu->adev, MP1_HWIP, 0) == IP_VERSION(13, 0, 0)) &&
 	    ((smu->adev->pm.fw_version == 0x004e6601) ||
-	     (smu->adev->pm.fw_version >= 0x004e7300))) {
+	     (smu->adev->pm.fw_version >= 0x004e7400))) {
 		workload_type = smu_cmn_to_asic_specific_index(smu,
 							       CMN2ASIC_MAPPING_WORKLOAD,
 							       PP_SMC_POWER_PROFILE_POWERSAVING);
Signature · 1 line
2.41.0
Reviewed-by on v1 1/1
#1 lore raw

[AMD Official Use Only - General]

Regards,
Hawking

Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: amd-gfx <[email protected]> on behalf of Alex Deucher <[email protected]>
Sent: Friday, October 13, 2023 3:12:47 AM
To: [email protected] <[email protected]>
Cc: Deucher, Alexander <[email protected]>
Subject: [PATCH] drm/amdgpu/pm: update SMU 13.0.0 PMFW version check

Update the PMFW version check the the ROCm optimizations.

---
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c +1 -1
index 56b11f6386df..cb7e1a22d7ef 100644
@@ -2562,7 +2562,7 @@ static int smu_v13_0_0_set_power_profile_mode(struct smu_context *smu,
         if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_COMPUTE &&
             (amdgpu_ip_version(smu->adev, MP1_HWIP, 0) == IP_VERSION(13, 0, 0)) &&
             ((smu->adev->pm.fw_version == 0x004e6601) ||
-            (smu->adev->pm.fw_version >= 0x004e7300))) {
+            (smu->adev->pm.fw_version >= 0x004e7400))) {
                 workload_type = smu_cmn_to_asic_specific_index(smu,
                                                                CMN2ASIC_MAPPING_WORKLOAD,
                                                                PP_SMC_POWER_PROFILE_POWERSAVING);

--
2.41.0