drm/amdkfd: Limit queue reset support on gfx9

For gfx9, queue reset is supported on gfx 9.4.3 and above.

Signed-off-by: Amber Lin <Amber.Lin@amd.com>
Reviewed-by: Kent Russell <kent.russell@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Amber Lin
2026-06-15 12:06:42 -04:00
committed by Alex Deucher
parent 7dba3e10ec
commit ce8b04960a

View File

@@ -2013,7 +2013,8 @@ static void kfd_topology_set_capabilities(struct kfd_topology_device *dev)
dev->node_props.capability |=
HSA_CAP_TRAP_DEBUG_PRECISE_MEMORY_OPERATIONS_SUPPORTED;
if (!amdgpu_sriov_vf(dev->gpu->adev))
if (KFD_GC_VERSION(dev->gpu) >= IP_VERSION(9, 4, 3) &&
!amdgpu_sriov_vf(dev->gpu->adev))
dev->node_props.capability |= HSA_CAP_PER_QUEUE_RESET_SUPPORTED;
} else {