From: David Yu Date: Fri, 22 Apr 2022 14:43:41 +0000 (-0400) Subject: drm/amdgpu: Ta fw needs to be loaded for SRIOV aldebaran X-Git-Tag: v5.19-rc1~153^2~12^2~66 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a2443ef0a8046ca98868224ee9bd6861c17e4995;p=thirdparty%2Fkernel%2Flinux.git drm/amdgpu: Ta fw needs to be loaded for SRIOV aldebaran 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 Reviewed-by: Shaoyun.liu Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c index f6527aa19238a..0bd22ebcc3d11 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c @@ -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();