drm/amdgpu: Ta fw needs to be loaded for SRIOV aldebaran
authorDavid Yu <David.Yu@amd.com>
Fri, 22 Apr 2022 14:43:41 +0000 (10:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Apr 2022 18:51:51 +0000 (14:51 -0400)
Load ta fw during psp_init_sriov_microcode to enable XGMI.
It is required to be loaded by both guest and host starting
from Arcturus. Cap fw needs to be loaded first.

Signed-off-by: David Yu <David.Yu@amd.com>
Reviewed-by: Shaoyun.liu <Shaoyun.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c

index f6527aa..0bd22eb 100644 (file)
@@ -276,6 +276,7 @@ static int psp_init_sriov_microcode(struct psp_context *psp)
                break;
        case IP_VERSION(13, 0, 2):
                ret = psp_init_cap_microcode(psp, "aldebaran");
+               ret &= psp_init_ta_microcode(psp, "aldebaran");
                break;
        default:
                BUG();