]> www.infradead.org Git - nvme.git/commit
drm/xe: flush engine buffers before signalling user fence on all engines
authorAndrzej Hajda <andrzej.hajda@intel.com>
Wed, 5 Jun 2024 07:29:48 +0000 (09:29 +0200)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 13 Jun 2024 09:36:23 +0000 (11:36 +0200)
commitb5e3a9b83f352a737b77a01734a6661d1130ed49
tree71183c951aa362fd13e28cfca6fd79d64bef8d48
parentcd554e1e118a6aa1c919309cd28398b003f69c1f
drm/xe: flush engine buffers before signalling user fence on all engines

Tests show that user fence signalling requires kind of write barrier,
otherwise not all writes performed by the workload will be available
to userspace. It is already done for render and compute, we need it
also for the rest: video, gsc, copy.

Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: Andrzej Hajda <andrzej.hajda@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240605-fix_user_fence_posted-v3-2-06e7932f784a@intel.com
(cherry picked from commit 3ad7d18c5dad75ed38098c7cc3bc9594b4701399)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/xe_ring_ops.c