]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: rework userq reset work handling
authorChristian König <christian.koenig@amd.com>
Tue, 21 Apr 2026 10:39:54 +0000 (12:39 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 May 2026 16:07:42 +0000 (12:07 -0400)
commitc8ed2de0f2ee842d108ef96c125e931ea82b453c
treefc4e44f7aa4df37120892ec400658a8851c983db
parentbe045c5c8305fca1214ebdd4b8433ac80635339b
drm/amdgpu: rework userq reset work handling

It is illegal to schedule reset work from another reset work!

Fix this by scheduling the userq reset work directly on the work queue
of the reset domain.

Not fully tested, I leave that to the IGT test cases.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Sunil Khatri <sunil.khatri@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit fd9200ccefab94f27877d1943761d6b0ccbd89c8)
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h