]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/amdgpu: don't enable SMU on cyan skillfish
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jun 2025 14:25:09 +0000 (10:25 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Nov 2025 20:34:20 +0000 (15:34 -0500)
[ Upstream commit 94bd7bf2c920998b4c756bc8a54fd3dbdf7e4360 ]

Cyan skillfish uses different SMU firmware.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index e00b5e4542347200c6d06204fb7dcd2108759b6b..e09db65880e1a08b93531bf28a4ca5e1061bfbaf 100644 (file)
@@ -2040,13 +2040,16 @@ static int amdgpu_discovery_set_smu_ip_blocks(struct amdgpu_device *adev)
        case IP_VERSION(11, 0, 5):
        case IP_VERSION(11, 0, 9):
        case IP_VERSION(11, 0, 7):
-       case IP_VERSION(11, 0, 8):
        case IP_VERSION(11, 0, 11):
        case IP_VERSION(11, 0, 12):
        case IP_VERSION(11, 0, 13):
        case IP_VERSION(11, 5, 0):
                amdgpu_device_ip_block_add(adev, &smu_v11_0_ip_block);
                break;
+       case IP_VERSION(11, 0, 8):
+               if (adev->apu_flags & AMD_APU_IS_CYAN_SKILLFISH2)
+                       amdgpu_device_ip_block_add(adev, &smu_v11_0_ip_block);
+               break;
        case IP_VERSION(12, 0, 0):
        case IP_VERSION(12, 0, 1):
                amdgpu_device_ip_block_add(adev, &smu_v12_0_ip_block);