]> www.infradead.org Git - users/hch/configfs.git/commit
drm/amdkfd: fallback to pipe reset on queue reset fail for gfx9
authorJonathan Kim <Jonathan.Kim@amd.com>
Tue, 30 Jul 2024 16:52:20 +0000 (12:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Aug 2024 16:12:52 +0000 (12:12 -0400)
commita85c3db6b3b088f63b5b8c4fd4352f56f0e4ce3d
tree2fb8e723ddcb8a0e463ec237d660f474c8585266
parent9c081c11c62112f1c30ff2426f755279a43fa1a1
drm/amdkfd: fallback to pipe reset on queue reset fail for gfx9

If queue reset fails, tell the CP to reset the pipe.
Since queues multiplex context per pipe and we've issued a device wide
preemption prior to the hang, we can assume the hung pipe only has one
queue to reset on pipe reset.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c