drm/amdgpu/userq: cancel reset work while tear down in progress
authorSunil Khatri <sunil.khatri@amd.com>
Tue, 12 May 2026 09:22:40 +0000 (14:52 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 18 May 2026 22:09:18 +0000 (18:09 -0400)
commit160164609f71f774c4f661227a9b7a370a86b112
tree86543aed8b6d2a9e3c46debf6f6d1829b2ad485b
parentaf3f2f5db2659a13c256d2fb096c473eb50412ef
drm/amdgpu/userq: cancel reset work while tear down in progress

While tear down of a userq_mgr is happening when all the queues
are free we should cancel any reset work if pending before exiting.

Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c