From: Amber Lin <Amber.Lin@amd.com>
To: <amd-gfx@lists.freedesktop.org>
Cc: <alexander.deucher@amd.com>, Amber Lin <Amber.Lin@amd.com>,
Michael Chen <michael.chen@amd.com>
Subject: [PATCH 2/2] drm/amdkfd: Enable SDMA queue reset on gfx v12.1
Date: Tue, 12 May 2026 22:59:25 -0400 [thread overview]
Message-ID: <20260513025926.259727-2-Amber.Lin@amd.com> (raw)
In-Reply-To: <20260513025926.259727-1-Amber.Lin@amd.com>
After suspend/resume sdma_gang is supported on MES 12.1, SDMA queue reset
is supported too.
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
Reviewed-by: Michael Chen<michael.chen@amd.com>
---
drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_topology.c b/drivers/gpu/drm/amd/amdkfd/kfd_topology.c
index 397e916e11b6..f37c2d3c8416 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_topology.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_topology.c
@@ -514,7 +514,8 @@ static ssize_t node_show(struct kobject *kobj, struct attribute *attr,
dev->node_props.capability |=
HSA_CAP_AQL_QUEUE_DOUBLE_MAP;
- if (KFD_GC_VERSION(dev->gpu) < IP_VERSION(10, 0, 0) &&
+ if ((KFD_GC_VERSION(dev->gpu) < IP_VERSION(10, 0, 0) ||
+ KFD_GC_VERSION(dev->gpu) == IP_VERSION(12, 1, 0)) &&
(dev->gpu->adev->sdma.supported_reset & AMDGPU_RESET_TYPE_PER_QUEUE))
dev->node_props.capability2 |= HSA_CAP2_PER_SDMA_QUEUE_RESET_SUPPORTED;
--
2.43.0
next prev parent reply other threads:[~2026-05-13 3:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-13 2:59 [PATCH 1/2] drm/amdgpu: Support MES suspend_all_sdma_gangs Amber Lin
2026-05-13 2:59 ` Amber Lin [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-03-23 18:44 [PATCH 0/2] Support SDMA queue reset Amber Lin
2026-03-23 18:44 ` [PATCH 2/2] drm/amdkfd: Enable SDMA queue reset on gfx v12.1 Amber Lin
2026-03-23 19:25 ` Alex Deucher
2026-03-23 19:48 ` Amber Lin
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=20260513025926.259727-2-Amber.Lin@amd.com \
--to=amber.lin@amd.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=michael.chen@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 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.