From: Sunil Khatri <sunil.khatri@amd.com>
To: "Alex Deucher" <alexander.deucher@amd.com>,
"Christian König" <christian.koenig@amd.com>
Cc: amd-gfx@lists.freedesktop.org, Sunil Khatri <sunil.khatri@amd.com>
Subject: [PATCH v1 3/3] drm/amdgpu: add the fw check for gfx11 missing ips for uq
Date: Mon, 31 Aug 2026 20:32:11 +0530 [thread overview]
Message-ID: <20260831150211.1486154-3-sunil.khatri@amd.com> (raw)
In-Reply-To: <20260831150211.1486154-1-sunil.khatri@amd.com>
Add the proper checks for some of the gfx11 variant IP's
for firmware support of userqueues.
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
---
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
index 2c160ec9dc57..ca142c69cc28 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
@@ -1670,7 +1670,11 @@ static int gfx_v11_0_sw_init(struct amdgpu_ip_block *ip_block)
case IP_VERSION(11, 5, 2):
case IP_VERSION(11, 5, 3):
/* add firmware version checks here */
- if (0 && !adev->gfx.disable_uq) {
+ if (!adev->gfx.disable_uq &&
+ adev->gfx.me_fw_version >= 3090 &&
+ adev->gfx.pfp_fw_version >= 3190 &&
+ adev->gfx.mec_fw_version >= 3450 &&
+ adev->mes.fw_version[0] >= 147) {
adev->userq_funcs[AMDGPU_HW_IP_GFX] = &userq_mes_funcs;
adev->userq_funcs[AMDGPU_HW_IP_COMPUTE] = &userq_mes_funcs;
}
--
2.34.1
next prev parent reply other threads:[~2026-08-31 15:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-31 15:02 [PATCH v1 1/3] drm/amdgpu: update the fw version for gfx11 userqueues Sunil Khatri
2026-08-31 15:02 ` [PATCH v1 2/3] drm/amdgpu: update the fw version for gfx12 userqueues Sunil Khatri
2026-08-31 15:02 ` Sunil Khatri [this message]
2026-08-31 15:11 ` [PATCH v1 3/3] drm/amdgpu: add the fw check for gfx11 missing ips for uq Alex Deucher
2026-08-31 15:15 ` Khatri, Sunil
2026-08-31 15:12 ` [PATCH v1 1/3] drm/amdgpu: update the fw version for gfx11 userqueues Alex Deucher
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=20260831150211.1486154-3-sunil.khatri@amd.com \
--to=sunil.khatri@amd.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=christian.koenig@amd.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox