]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: always backup and reemit fences
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Nov 2025 19:12:10 +0000 (14:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Jan 2026 21:59:58 +0000 (16:59 -0500)
commit155a748f14bc0b72783994dea7c5a12276730342
tree7851224036d8614ce7dc6eef4690ad07f7bfff76
parentfb62a2067ca4555a6572d911e05919a311c010aa
drm/amdgpu: always backup and reemit fences

If when we backup the ring contents for reemit before a
ring reset, we skip jobs associated with the bad
context, however, we need to make sure the fences
are reemited as unprocessed submissions may depend on
them.

v2: clean up fence handling, make helpers static

Reviewed-by: Timur Kristóf <timur.kristof@gmail.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