All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] Revert "drm/amdkfd: Add queue reset support to gfx12.0"
@ 2026-06-24  3:40 Amber Lin
  2026-06-24  3:40 ` [PATCH 2/2] drm/amdkfd: Add gfx12.0 queue reset support to topology Amber Lin
  2026-06-24  3:46 ` [PATCH 1/2] Revert "drm/amdkfd: Add queue reset support to gfx12.0" Zhang, Jesse(Jie)
  0 siblings, 2 replies; 3+ messages in thread
From: Amber Lin @ 2026-06-24  3:40 UTC (permalink / raw)
  To: amd-gfx, Jesse.zhang; +Cc: Amber Lin, Amber Lin

This reverts commit ecab22cd95dbde28c17e9eb34416f4c840bd50da.
This patch didn't exclude SRIOV

Signed-off-by: Amber Lin <Amber.Lin@amd.com>
---
 drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_topology.c b/drivers/gpu/drm/amd/amdkfd/kfd_topology.c
index f56b55ef1edd..1bf67b6e9aac 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_topology.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_topology.c
@@ -2027,15 +2027,14 @@ static void kfd_topology_set_capabilities(struct kfd_topology_device *dev)
 		     !amdgpu_sriov_vf(dev->gpu->adev))
 			dev->node_props.capability |= HSA_CAP_PER_QUEUE_RESET_SUPPORTED;
 
-		if (KFD_GC_VERSION(dev->gpu) >= IP_VERSION(12, 0, 0)) {
+		if (KFD_GC_VERSION(dev->gpu) >= IP_VERSION(12, 0, 0))
 			dev->node_props.capability |=
 				HSA_CAP_TRAP_DEBUG_PRECISE_ALU_OPERATIONS_SUPPORTED;
-			dev->node_props.capability |= HSA_CAP_PER_QUEUE_RESET_SUPPORTED;
-		}
 
 		if (KFD_GC_VERSION(dev->gpu) >= IP_VERSION(12, 1, 0)) {
 			dev->node_props.capability |=
 				HSA_CAP_TRAP_DEBUG_PRECISE_MEMORY_OPERATIONS_SUPPORTED;
+			dev->node_props.capability |= HSA_CAP_PER_QUEUE_RESET_SUPPORTED;
 			dev->node_props.capability2 |=
 				HSA_CAP2_TRAP_DEBUG_LDS_OUT_OF_ADDR_RANGE_SUPPORTED;
 		}
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-06-24  3:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-24  3:40 [PATCH 1/2] Revert "drm/amdkfd: Add queue reset support to gfx12.0" Amber Lin
2026-06-24  3:40 ` [PATCH 2/2] drm/amdkfd: Add gfx12.0 queue reset support to topology Amber Lin
2026-06-24  3:46 ` [PATCH 1/2] Revert "drm/amdkfd: Add queue reset support to gfx12.0" Zhang, Jesse(Jie)

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.