mbox series

[v3,0/4] xe_sync and ufence rework

Message ID 20240301224919.271153-1-matthew.brost@intel.com (mailing list archive)
Headers show
Series xe_sync and ufence rework | expand

Message

Matthew Brost March 1, 2024, 10:49 p.m. UTC
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(-)