]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amdgpu: Skip loading SDMA_RS64 in VF
authorYuBiao Wang <YuBiao.Wang@amd.com>
Wed, 12 Nov 2025 07:16:27 +0000 (15:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 10 Jan 2026 19:06:33 +0000 (14:06 -0500)
VFs use the PF SDMA ucode and are unable to load SDMA_RS64.

Signed-off-by: YuBiao Wang <YuBiao.Wang@amd.com>
Signed-off-by: Victor Skvortsov <Victor.Skvortsov@amd.com>
Reviewed-by: Gavin Wan <gavin.wan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c

index f8eac92a2b36cf3b8ac24ebe4dc425131384714a..f01f3850910839b57540192c2407c7375c5b4588 100644 (file)
@@ -1262,6 +1262,7 @@ bool amdgpu_virt_fw_load_skip_check(struct amdgpu_device *adev, uint32_t ucode_i
                    || ucode_id == AMDGPU_UCODE_ID_SDMA5
                    || ucode_id == AMDGPU_UCODE_ID_SDMA6
                    || ucode_id == AMDGPU_UCODE_ID_SDMA7
+                   || ucode_id == AMDGPU_UCODE_ID_SDMA_RS64
                    || ucode_id == AMDGPU_UCODE_ID_RLC_G
                    || ucode_id == AMDGPU_UCODE_ID_RLC_RESTORE_LIST_CNTL
                    || ucode_id == AMDGPU_UCODE_ID_RLC_RESTORE_LIST_GPM_MEM