drm/amdgpu: re-add the bad job to the pending list for ring resets
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Jan 2026 16:19:49 +0000 (11:19 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Feb 2026 22:25:44 +0000 (17:25 -0500)
commit6952255ed97914abbf86fc3f92c9918945b885b8
tree370857a33cbee83120669c8c08025288600dca78
parent5cc7bbd9f1b74d9fe2f7ac08d6ba0477e8d2d65f
drm/amdgpu: re-add the bad job to the pending list for ring resets

Returning DRM_GPU_SCHED_STAT_NO_HANG causes the scheduler
to add the bad job back the pending list.  We've already
set the errors on the fence and killed the bad job at this point
so it's the correct behavior.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c