[PATCH v3 0/4] xe_sync and ufence rework

Matthew Brost matthew.brost at intel.com
Fri Mar 1 22:49:15 UTC 2024


Remove unused code, better input validation, and gup ufence
implementation. gup ufence implementation based some internal i915
patches. Tested with [1].

Matt

[1] https://patchwork.freedesktop.org/series/130417/

Matthew Brost (4):
  drm/xe: Remove used xe_sync_entry_wait
  drm/xe: Validate user fence during creation
  drm/xe: Get page on user fence creation
  drm/xe: Use get_user / put_user with memory barriers for ufence

 drivers/gpu/drm/xe/xe_sync.c            | 74 ++++++++++++++++++-------
 drivers/gpu/drm/xe/xe_sync.h            |  1 -
 drivers/gpu/drm/xe/xe_wait_user_fence.c |  4 +-
 3 files changed, 58 insertions(+), 21 deletions(-)

-- 
2.34.1



More information about the Intel-xe mailing list