drm/amd/swsmu: support smu block discovery for smu v14
authorKenneth Feng <kenneth.feng@amd.com>
Wed, 31 May 2023 08:09:05 +0000 (16:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Apr 2024 02:39:16 +0000 (22:39 -0400)
Support for smu ip block add for SMU v14.

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index 90735e966318988c1067a360b05c267ba4ae1135..0e31bdb4b7cb6047e8857c4290696035d8a27571 100644 (file)
@@ -1901,6 +1901,8 @@ static int amdgpu_discovery_set_smu_ip_blocks(struct amdgpu_device *adev)
                break;
        case IP_VERSION(14, 0, 0):
        case IP_VERSION(14, 0, 1):
+       case IP_VERSION(14, 0, 2):
+       case IP_VERSION(14, 0, 3):
                amdgpu_device_ip_block_add(adev, &smu_v14_0_ip_block);
                break;
        default: