]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Disable garbage collector work item on SVM close
authorMatthew Brost <matthew.brost@intel.com>
Fri, 27 Feb 2026 01:52:25 +0000 (17:52 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Fri, 27 Mar 2026 20:22:59 +0000 (13:22 -0700)
commit2247feb9badca5a4774df9a437bfc44fba4f22de
tree312f8ac3e578271ef8b15a7c5962d61d2843e83a
parent6eb04caaa972934c9b6cea0e0c29e466bf9a346f
drm/xe: Disable garbage collector work item on SVM close

When an SVM is closed, the garbage collector work item must be stopped
synchronously and any future queuing must be prevented. Replace
flush_work() with disable_work_sync() to ensure both conditions are
met.

Fixes: 63f6e480d115 ("drm/xe: Add SVM garbage collector")
Cc: stable@vger.kernel.org
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patch.msgid.link/20260227015225.3081787-1-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_svm.c