]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: don't reemit ring contents more than once
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Nov 2025 18:24:10 +0000 (13:24 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Jan 2026 21:59:57 +0000 (16:59 -0500)
commitfb62a2067ca4555a6572d911e05919a311c010aa
treebf9506be10a2a36d49ec1f9d92578cad6efbd0f9
parent216779827f8d52a39d94d43c47737a829991ad8c
drm/amdgpu: don't reemit ring contents more than once

If we cancel a bad job and reemit the ring contents, and
we get another timeout, cancel everything rather than reemitting.
The wptr markers are only relevant for the original emit.  If
we reemit, the wptr markers are no longer correct.

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