]> git.hungrycats.org Git - linux/commit
drm/amdgpu: trigger GPU recovery when userq destroy fails to unmap a hung queue
authorJesse Zhang <Jesse.Zhang@amd.com>
Wed, 1 Jul 2026 10:17:03 +0000 (18:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 8 Jul 2026 18:20:30 +0000 (14:20 -0400)
commit8396b9de4198a54ec4760a94a179347540a9764d
tree5514877f59360974d757a9b7b94b984fee0d2bfa
parent873a8d6b3c0a386408c891e4ff1c684fa11783e1
drm/amdgpu: trigger GPU recovery when userq destroy fails to unmap a hung queue

Destroying a hung user queue issues a MES REMOVE_QUEUE that times out,
The destroy path only logged the error and freed the queue, so the
next userq submission failed and forced a GPU reset attributed to an innocent workload.

Kick the userq reset work when unmap fails so the GPU is recovered at
destroy time.

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c