]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu: move guilty handling into ring resets
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Jun 2025 03:34:48 +0000 (23:34 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 30 Jun 2025 15:57:36 +0000 (11:57 -0400)
commit43ca5eb94b38c1b3c71bca36025050dfaab1ef33
tree48f24edd2f10cfd2d48ceafe29b7fed0a5d6edea
parent2dee58ca471dae05c473270d0fb74efe01a78ccb
drm/amdgpu: move guilty handling into ring resets

Move guilty logic into the ring reset callbacks.  This
allows each ring reset callback to better handle fence
errors and force completions in line with the reset
behavior for each IP.  It also allows us to remove
the ring guilty callback since that logic now lives
in the reset callback.

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c