]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: fix WQ_MEM_RECLAIM passed as max_active to alloc_workqueue()
authorMarco Crivellari <marco.crivellari@suse.com>
Thu, 8 Jan 2026 18:01:48 +0000 (19:01 +0100)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Sun, 18 Jan 2026 15:54:01 +0000 (16:54 +0100)
commit6f287b1c8d0e255e94e54116ebbe126515f5c911
tree42840c91fc4023a6deff552058864da3af709236
parentca9e5115e870b9a531deb02752055a8a587904e3
drm/xe: fix WQ_MEM_RECLAIM passed as max_active to alloc_workqueue()

Workqueue xe-ggtt-wq has been allocated using WQ_MEM_RECLAIM, but
the flag has been passed as 3rd parameter (max_active) instead
of 2nd (flags) creating the workqueue as per-cpu with max_active = 8
(the WQ_MEM_RECLAIM value).

So change this by set WQ_MEM_RECLAIM as the 2nd parameter with a
default max_active.

Fixes: 60df57e496e4 ("drm/xe: Mark GGTT work queue with WQ_MEM_RECLAIM")
Cc: stable@vger.kernel.org
Signed-off-by: Marco Crivellari <marco.crivellari@suse.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260108180148.423062-1-marco.crivellari@suse.com
(cherry picked from commit aa39abc08e77d66ebb0c8c9ec4cc8d38ded34dc9)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/xe_ggtt.c