mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 03:35:32 -04:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user