drm/amdgpu: init TA microcode for SRIOV VF when MP0 IP is 13.0.6
authorZhigang Luo <Zhigang.Luo@amd.com>
Thu, 6 Jul 2023 16:13:37 +0000 (12:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Aug 2023 21:13:09 +0000 (17:13 -0400)
Init TA ucode for SRIOV.

Signed-off-by: Zhigang Luo <Zhigang.Luo@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c

index 1d0516e..8fdca54 100644 (file)
@@ -145,6 +145,7 @@ static int psp_init_sriov_microcode(struct psp_context *psp)
                break;
        case IP_VERSION(13, 0, 6):
                ret = psp_init_cap_microcode(psp, ucode_prefix);
+               ret &= psp_init_ta_microcode(psp, ucode_prefix);
                break;
        case IP_VERSION(13, 0, 10):
                adev->virt.autoload_ucode_id = AMDGPU_UCODE_ID_CP_MES1_DATA;