Patch "drm/xe: Enforce correct user fence signaling order using" has been added to the 6.18-stable tree
Hi,
Quoted 8 lines · Sasha Levin
This is a note to let you know that I've just added the patch titled
drm/xe: Enforce correct user fence signaling order using
to the 6.18-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
Quoted 9 lines
The filename of the patch is:
drm-xe-enforce-correct-user-fence-signaling-order-us.patch and it can be found in the queue-6.18 subdirectory.If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
(Already replied to a similar email from GregKH) Please skip this patch. The patch looks already applied and appears to be the result of an incorrect merge resolution.
Thanks,
Thomas
Quoted 46 lines
commit
e0d6df858765e6228a87c8559ccbe6826a1a6fef
Author: Matthew Brost <[email protected]>
Date: Fri Oct 31 16:40:45 2025 -0700drm/xe: Enforce correct user fence signaling order using
[ Upstream commitadda4e855ab6409a3edaa585293f1f2069ab7299]
Prevent application hangs caused by out-of-order fence signaling when
user fences are attached. Usedrm_syncobj(via dma-fence-chain) to
guarantee that each user fence signals in order, regardless of the
signaling order of the attached fences. Ensure user fence writebacks to
user space occur in the correct sequence.
v7:
- Skipdrm_syncbjcreate of error (CI)Fixes dd08ebf6c352 ("drm/xe: Introduce a new DRM driver forIntel GPUs")
Signed-off-by Matthew Brost <[email protected]>Reviewed-by Thomas Hellström <[email protected]>Link:
https://patch.msgid.link/[email protected]Signed-off-by Sasha Levin <[email protected]>drivers/gpu/drm/xe/xe_exec_queue.c +0
-0@@ -344,6 +344,9 @@ void xe_exec_queue_destroy(struct kref *ref)struct
xe_exec_queue*q =container_of(ref, struct xe_exec_queue, refcount);
structxe_exec_queue*eq, *next;drivers/gpu/drm/xe/xe_exec_queue.c +3
-0+if (q->ufence_syncobj) +drm_syncobj_put (q->ufence_syncobj); +if (
q->ufence_syncobj)drm_syncobj_put(q->ufence_syncobj);