From: Amber Lin <Amber.Lin@amd.com>
To: <amd-gfx@lists.freedesktop.org>, <jesse.zhang@amd.com>
Cc: Amber Lin <Amber.Lin@amd.com>
Subject: [PATCH 2/2] drm/amdkfd: Add queue reset support on gfx11 dGPU
Date: Fri, 12 Jun 2026 23:01:52 -0400 [thread overview]
Message-ID: <20260613030152.945160-2-Amber.Lin@amd.com> (raw)
In-Reply-To: <20260613030152.945160-1-Amber.Lin@amd.com>
This patch enable queue reset support to KFD topology for gfx11 dGPUs
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
---
drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_topology.c b/drivers/gpu/drm/amd/amdkfd/kfd_topology.c
index 0ff793a17857..01a8a2171f8e 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_topology.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_topology.c
@@ -2019,6 +2019,11 @@ static void kfd_topology_set_capabilities(struct kfd_topology_device *dev)
} else {
dev->node_props.debug_prop |= HSA_DBG_WATCH_ADDR_MASK_LO_BIT_GFX10 |
HSA_DBG_WATCH_ADDR_MASK_HI_BIT;
+ /* gfx11 dGPU */
+ if ((KFD_GC_VERSION(dev->gpu) == IP_VERSION(11, 0, 0)) ||
+ (KFD_GC_VERSION(dev->gpu) == IP_VERSION(11, 0, 2)) ||
+ (KFD_GC_VERSION(dev->gpu) == IP_VERSION(11, 0, 3)))
+ dev->node_props.capability |= HSA_CAP_PER_QUEUE_RESET_SUPPORTED;
if (KFD_GC_VERSION(dev->gpu) >= IP_VERSION(12, 0, 0))
dev->node_props.capability |=
--
2.34.1
next prev parent reply other threads:[~2026-06-13 3:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-13 3:01 [PATCH 1/2] Revert "drm/amdkfd: Add gfx11 queue/pipe reset support to topology" Amber Lin
2026-06-13 3:01 ` Amber Lin [this message]
2026-06-13 3:13 ` [PATCH 2/2] drm/amdkfd: Add queue reset support on gfx11 dGPU Zhang, Jesse(Jie)
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=20260613030152.945160-2-Amber.Lin@amd.com \
--to=amber.lin@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=jesse.zhang@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