summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
diff options
context:
space:
mode:
authorJonathan Kim <Jonathan.Kim@amd.com>2024-06-25 18:22:50 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-08-06 17:43:18 +0300
commitee0a469cf9175aeb6131c0476c4a4a8eb5997dfa (patch)
tree54532ea2f59cccefc7d0c99fcf5efe4776c75361 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
parente89d2fec4cde967445e16e02e406481bac380cc4 (diff)
downloadlinux-ee0a469cf9175aeb6131c0476c4a4a8eb5997dfa.tar.xz
drm/amdkfd: support per-queue reset on gfx9
Support per-queue reset for GFX9. The recommendation is for the driver to target reset the HW queue via a SPI MMIO register write. Since this requires pipe and HW queue info and MEC FW is limited to doorbell reports of hung queues after an unmap failure, scan the HW queue slots defined by SET_RESOURCES first to identify the user queue candidates to reset. Only signal reset events to processes that have had a queue reset. If queue reset fails, fall back to GPU reset. Signed-off-by: Jonathan Kim <jonathan.kim@amd.com> Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions