Skip to contentSkip to conversation

drm/amdgpu: Skip loading SDMA_RS64 in VF

PATCH In review Victor Skvortsov 2 participants 2 messages Dec 29, 2025 – Jan 6

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: Skip loading SDMA_RS64 in VF

From: YuBiao Wang <[email protected]>

VFs use the PF SDMA ucode and are unable to load SDMA_RS64.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c +1 -0
index f8eac92a2b36..f01f38509108 100644
@@ -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
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw

[AMD Official Use Only - AMD Internal Distribution Only]

Looks Good.

-----Original Message-----
From: Skvortsov, Victor <[email protected]>
Sent: Monday, December 29, 2025 9:34 AM
To: [email protected]; Wan, Gavin <[email protected]>; Wang, YuBiao <[email protected]>
Cc: Skvortsov, Victor <[email protected]>
Subject: [PATCH] drm/amdgpu: Skip loading SDMA_RS64 in VF

From: YuBiao Wang <[email protected]>

VFs use the PF SDMA ucode and are unable to load SDMA_RS64.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c +1 -0
index f8eac92a2b36..f01f38509108 100644
@@ -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

--
2.34.1