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>
This commit is contained in:
Alex Deucher 2026-05-12 10:23:02 -04:00
commit 36ed61b1c0
2 changed files with 33 additions and 0 deletions