]> git.hungrycats.org Git - linux/commit
drm/amdgpu/fence: add helper to extract the guilty fence
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 12 May 2026 14:23:02 +0000 (10:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Jun 2026 19:51:33 +0000 (15:51 -0400)
commit36ed61b1c01a24fd3891d1e01025751d7d0603ac
treebd005781876678c73d056f91e4072693085e7100
parentce3f23a780851f848ae63b89f6ad51d86dfe33b5
drm/amdgpu/fence: add helper to extract the guilty fence

Add a helper to extract the first amdgpu_fence which has
not yet signalled and is thus guilty or at least collateral
damage.

Reviewed-by: Jesse Zhang <jesse.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h