]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/xe: Mark preempt fence workqueue as reclaim
authorMatthew Brost <matthew.brost@intel.com>
Wed, 13 Nov 2024 17:17:51 +0000 (09:17 -0800)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 21 Nov 2024 16:16:38 +0000 (17:16 +0100)
commited31ba0aa7e93ecac62cfd445c3228345bdd87e6
treeb7aa7b9b48fa92cf005501378560eeb5bf424280
parent37a1cf288e4538eb39b38dbc745fe0da7ae53d94
drm/xe: Mark preempt fence workqueue as reclaim

Preempt fences are in the path of reclaim, and we signal these fences in
the preempt workqueue. With that, we need to mark the preempt fence
workqueue with reclaim so that this workqueue can make forward progress
during reclaim.

Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241113171751.1677784-1-matthew.brost@intel.com
(cherry picked from commit 15cf53ece41748a102f4b5ee26947c2ec059bf95)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/xe_device.c