All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Yu <David.Yu@amd.com>
To: <amd-gfx@lists.freedesktop.org>
Cc: David Yu <David.Yu@amd.com>
Subject: [PATCH] drm/amdgpu: Ta fw needs to be loaded for SRIOV aldebaran
Date: Fri, 22 Apr 2022 10:58:22 -0400	[thread overview]
Message-ID: <20220422145822.3628-1-David.Yu@amd.com> (raw)

Load ta fw during psp_init_sriov_microcode to enable XGMI

Signed-off-by: David Yu <David.Yu@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	other threads:[~2022-04-22 14:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-22 14:58 David Yu [this message]
2022-04-22 15:02 ` [PATCH] drm/amdgpu: Ta fw needs to be loaded for SRIOV aldebaran Liu, Shaoyun
  -- strict thread matches above, loose matches on Subject: below --
2022-04-22 16:08 David Yu
2022-04-22 16:26 ` Liu, Shaoyun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220422145822.3628-1-David.Yu@amd.com \
    --to=david.yu@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.