drm/amdgpu/smu11: fix firmware version check for vangogh
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Oct 2021 15:21:24 +0000 (11:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Oct 2021 18:16:15 +0000 (14:16 -0400)
Was missed in the conversion to IP version checking.

Fixes: af3b89d3a639d5 ("drm/amdgpu/smu11.0: convert to IP version checking")
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c

index aa4d34f35c33301ad4cec6d7408fa8985208fa27..5c1703cc25fd7ceaabc369cafe1323381f116f47 100644 (file)
@@ -255,7 +255,7 @@ int smu_v11_0_check_fw_version(struct smu_context *smu)
        case IP_VERSION(11, 0, 11):
                smu->smc_driver_if_version = SMU11_DRIVER_IF_VERSION_Navy_Flounder;
                break;
-       case CHIP_VANGOGH:
+       case IP_VERSION(11, 5, 0):
                smu->smc_driver_if_version = SMU11_DRIVER_IF_VERSION_VANGOGH;
                break;
        case IP_VERSION(11, 0, 12):