Skip to content

Commit 1b34de7

Browse files
Jack Zhangalexdeucher
authored andcommitted
drm/amd/amdgpu/sriov skip RLCG s/r list for arcturus VF.
After rlcg fw 2.1, kmd driver starts to load extra fw for LIST_CNTL,GPM_MEM,SRM_MEM. We needs to skip the three fw because all rlcg related fw have been loaded by host driver. Guest driver would load the three fw fail without this change. Signed-off-by: Jack Zhang <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent ef1c0cb commit 1b34de7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1467,7 +1467,10 @@ static int psp_np_fw_load(struct psp_context *psp)
14671467
|| ucode->ucode_id == AMDGPU_UCODE_ID_SDMA5
14681468
|| ucode->ucode_id == AMDGPU_UCODE_ID_SDMA6
14691469
|| ucode->ucode_id == AMDGPU_UCODE_ID_SDMA7
1470-
|| ucode->ucode_id == AMDGPU_UCODE_ID_RLC_G))
1470+
|| ucode->ucode_id == AMDGPU_UCODE_ID_RLC_G
1471+
|| ucode->ucode_id == AMDGPU_UCODE_ID_RLC_RESTORE_LIST_CNTL
1472+
|| ucode->ucode_id == AMDGPU_UCODE_ID_RLC_RESTORE_LIST_GPM_MEM
1473+
|| ucode->ucode_id == AMDGPU_UCODE_ID_RLC_RESTORE_LIST_SRM_MEM))
14711474
/*skip ucode loading in SRIOV VF */
14721475
continue;
14731476

0 commit comments

Comments
 (0)