1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-17 03:50:37 +00:00
Matthew Brost 0995c2fc39 drm/xe: Enforce correct user fence signaling order using
Prevent application hangs caused by out-of-order fence signaling when
user fences are attached. Use drm_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:
 - Skip drm_syncbj create of error (CI)

Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patch.msgid.link/20251031234050.3043507-2-matthew.brost@intel.com
(cherry picked from commit adda4e855ab6409a3edaa585293f1f2069ab7299)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
2025-11-07 03:55:19 -08:00
..
2025-09-17 20:23:47 -04:00
2025-09-22 08:21:42 +10:00
2025-09-22 08:21:42 +10:00
2025-09-22 08:21:42 +10:00
2025-10-15 22:48:54 -07:00
2025-09-15 09:53:25 -07:00
2025-09-22 08:21:42 +10:00
2025-09-22 08:21:42 +10:00
2025-06-27 14:52:31 -07:00
2025-07-01 13:58:50 -07:00
2025-09-02 22:23:08 -07:00
2025-07-30 19:26:49 -07:00
2025-06-27 14:52:31 -07:00
2025-09-17 20:23:47 -04:00
2025-06-27 14:52:31 -07:00
2025-09-15 13:11:40 -04:00
2025-09-09 06:02:35 -07:00
2025-08-14 10:30:53 -04:00
2025-10-13 13:03:03 -07:00
2025-09-15 17:51:07 +10:00
2025-06-27 14:52:31 -07:00
2025-07-28 10:22:28 -04:00
2025-09-15 17:51:07 +10:00
2025-07-30 19:26:49 -07:00
2025-09-15 17:51:07 +10:00