]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: Update amdgpu_job_timedout to check if the ring is guilty
authorJesse.zhang@amd.com <Jesse.zhang@amd.com>
Fri, 21 Feb 2025 02:26:52 +0000 (10:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Feb 2025 16:43:59 +0000 (11:43 -0500)
commitc94943b0863ef3b8e88769f0805f715c8247b2bf
tree3cf6964fbe81bc682a82757b961251853670b2fe
parentd190e4d0f7b52bdb2b5bd8c3dcfbcd7877a0dc53
drm/amdgpu: Update amdgpu_job_timedout to check if the ring is guilty

This patch updates the `amdgpu_job_timedout` function to check if
the ring is actually guilty of causing the timeout. If not, it
skips error handling and fence completion.

v2: move the is_guilty check down into the queue reset area (Alex)
v3: need to call is_guilty before reset (Alex)
v4: squash in is_guilty logic fixes (Alex)

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