]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: deprecate guilty handling
authorChristian König <christian.koenig@amd.com>
Tue, 5 May 2026 13:40:04 +0000 (15:40 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Jun 2026 19:24:29 +0000 (15:24 -0400)
commit182bdd59be41595e211ac98406d3637fc6141017
tree2147c7a5e91e10750d3c2eba8b2a57b27e45dede
parent1d0f5838b1268de871e762bbeb408989dd96b449
drm/amdgpu: deprecate guilty handling

The guilty handling tried to establish a second way of signaling problems with
the GPU back to userspace. This caused quite a bunch of issue we had to work
around, especially lifetime issues with the drm_sched_entity.

Just drop the handling altogether and use the dma_fence based approach instead.

v2: fix reversed condition in entity check (Alex)

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c