]> git.itanic.dy.fi Git - linux-stable/commitdiff
drm/amdgpu/pm: update SMU 13.0.0 PMFW version check
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 12 Oct 2023 19:10:53 +0000 (15:10 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Oct 2023 22:26:50 +0000 (18:26 -0400)
Update the PMFW version check the the ROCm optimizations.

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c

index 9de8284ab9a931cd95a04b24e0c6adb00a2eec02..60e81f01540783cc4b5a87698d40e45fcb6cb004 100644 (file)
@@ -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);