[PULL] drm-xe-fixes

Rodrigo Vivi
2025-03-06T18:01:34Z

Here goes our xe fixes for this round, with
many fixes around userptr.

Thanks,
Rodrigo.

drm-xe-fixes-2025-03-06:
- Remove double page flip on initial plane (Maarten)
- Properly setup userptr pfn_flags_mask (Auld)
- Fix GT "for each engine" workarounds (Tvrtko)
- Fix userptr races and missed validations (Thomas, Brost)
- Userptr invalid page access fixes (Thomas)
The following changes since commit 7eb172143d5508b4da468ed59ee857c6e5e01da6:

Linux 6.14-rc5 (2025-03-02 11:48:20 -0800)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2025-03-06

for you to fetch changes up to 333b8906336174478efbbfc1e24a89e3397ffe65:

drm/xe/userptr: Unmap userptrs in the mmu notifier (2025-03-05 14:25:27 -0500)

----------------------------------------------------------------
- Remove double page flip on initial plane (Maarten)
- Properly setup userptr pfn_flags_mask (Auld)
- Fix GT "for each engine" workarounds (Tvrtko)
- Fix userptr races and missed validations (Thomas, Brost)
- Userptr invalid page access fixes (Thomas)

----------------------------------------------------------------
Maarten Lankhorst (1):
drm/xe: Remove double pageflip

Matthew Auld (1):
drm/xe/userptr: properly setup pfn_flags_mask

Matthew Brost (1):
drm/xe: Add staging tree for VM binds

Thomas Hellström (6):
drm/xe/vm: Validate userptr during gpu vma prefetching
drm/xe/vm: Fix a misplaced #endif
drm/xe: Fix fault mode invalidation with unbind
drm/xe/hmm: Style- and include fixes
drm/xe/hmm: Don't dereference struct page pointers without notifier lock
drm/xe/userptr: Unmap userptrs in the mmu notifier

Tvrtko Ursulin (1):
drm/xe: Fix GT "for each engine" workarounds

drivers/gpu/drm/xe/display/xe_plane_initial.c | 10 --
drivers/gpu/drm/xe/xe_gt.c | 4 +-
drivers/gpu/drm/xe/xe_hmm.c | 194 +++++++++++++++++++-------
drivers/gpu/drm/xe/xe_hmm.h | 7 +
drivers/gpu/drm/xe/xe_pt.c | 96 ++++++-------
drivers/gpu/drm/xe/xe_pt_walk.c | 3 +-
drivers/gpu/drm/xe/xe_pt_walk.h | 4 +
drivers/gpu/drm/xe/xe_vm.c | 100 +++++++++----
drivers/gpu/drm/xe/xe_vm.h | 10 +-
drivers/gpu/drm/xe/xe_vm_types.h | 8 +-
10 files changed, 292 insertions(+), 144 deletions(-)