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