Load ta fw during psp_init_sriov_microcode to enable XGMI

Signed-off-by: David Yu <david...@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
index f6527aa19238..895251f42853 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
@@ -275,7 +275,8 @@ static int psp_init_sriov_microcode(struct psp_context *psp)
                ret = psp_init_cap_microcode(psp, "sienna_cichlid");
                break;
        case IP_VERSION(13, 0, 2):
-               ret = psp_init_cap_microcode(psp, "aldebaran");
+               ret = psp_init_ta_microcode(psp, "aldebaran");
+               ret &= psp_init_cap_microcode(psp, "aldebaran");
                break;
        default:
                BUG();
-- 
2.25.1

Reply via email to