[PULL] drm-xe-next

Matthew Brost
2026-03-27T03:25:13Z

drm-xe-next-2026-03-26-1:
Hi Dave and Sima,

Here goes our late, final drm-xe-next PR towards 7.1. We just purgeable
BO uAPI in today, hence the late pull.

In the big things we have:
- Add support for purgeable buffer objects

Thanks,
Matt

UAPI Changes:
- Add support for purgeable buffer objects (Arvind, Himal)

Driver Changes:
- Remove useless comment (Maarten)
- Issue GGTT invalidation under lock in ggtt_node_remove (Brost, Fixes)
- Fix mismatched include guards in header files (Shuicheng)
The following changes since commit 3d4939c0ec011ad6dfda7c13362b3d2013425789:

drm/xe: Fix confusion with locals on context creation (2026-03-25 18:24:52 -0700)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-next-2026-03-26-1

for you to fetch changes up to 05c8b1cdc54036465ea457a0501a8c2f9409fce7:

drm/xe/madvise: Accept canonical GPU addresses in xe_vm_madvise_ioctl (2026-03-26 19:59:54 -0700)

----------------------------------------------------------------
UAPI Changes:
- Add support for purgeable buffer objects (Arvind, Himal)

Driver Changes:
- Remove useless comment (Maarten)
- Issue GGTT invalidation under lock in ggtt_node_remove (Brost, Fixes)
- Fix mismatched include guards in header files (Shuicheng)

----------------------------------------------------------------
Arvind Yadav (11):
drm/xe/bo: Add purgeable bo state tracking and field madv to xe_bo
drm/xe/madvise: Implement purgeable buffer object support
drm/xe/bo: Block CPU faults to purgeable buffer objects
drm/xe/vm: Prevent binding of purged buffer objects
drm/xe/madvise: Implement per-VMA purgeable state tracking
drm/xe/madvise: Block imported and exported dma-bufs
drm/xe/bo: Block mmap of DONTNEED/purged BOs
drm/xe/dma_buf: Block export of DONTNEED/purged BOs
drm/xe/bo: Add purgeable shrinker state helpers
drm/xe/madvise: Enable purgeable buffer object IOCTL support
drm/xe/madvise: Accept canonical GPU addresses in xe_vm_madvise_ioctl

Himal Prasad Ghimiray (1):
drm/xe/uapi: Add UAPI support for purgeable buffer objects

Maarten Lankhorst (1):
drm/xe: Remove useless comment.

Matthew Brost (1):
drm/xe: Issue GGTT invalidation under lock in ggtt_node_remove

Shuicheng Lin (1):
drm/xe: Fix mismatched include guards in header files

drivers/gpu/drm/xe/xe_bo.c | 194 +++++++++++++++--
drivers/gpu/drm/xe/xe_bo.h | 58 +++++
drivers/gpu/drm/xe/xe_bo_types.h | 6 +
drivers/gpu/drm/xe/xe_device.c | 3 -
drivers/gpu/drm/xe/xe_dma_buf.c | 24 ++
drivers/gpu/drm/xe/xe_ggtt.c | 9 +-
drivers/gpu/drm/xe/xe_gt_idle_types.h | 6 +-
drivers/gpu/drm/xe/xe_guc_exec_queue_types.h | 4 +-
drivers/gpu/drm/xe/xe_heci_gsc.h | 6 +-
drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.h | 4 +-
drivers/gpu/drm/xe/xe_late_bind_fw_types.h | 4 +-
drivers/gpu/drm/xe/xe_pagefault.c | 15 +-
drivers/gpu/drm/xe/xe_platform_types.h | 4 +-
drivers/gpu/drm/xe/xe_pt.c | 40 +++-
drivers/gpu/drm/xe/xe_query.c | 2 +
drivers/gpu/drm/xe/xe_svm.c | 1 +
drivers/gpu/drm/xe/xe_tile_printk.h | 4 +-
drivers/gpu/drm/xe/xe_vm.c | 112 ++++++++--
drivers/gpu/drm/xe/xe_vm_madvise.c | 303 +++++++++++++++++++++++++-
drivers/gpu/drm/xe/xe_vm_madvise.h | 3 +
drivers/gpu/drm/xe/xe_vm_types.h | 11 +
include/uapi/drm/xe_drm.h | 69 ++++++
22 files changed, 814 insertions(+), 68 deletions(-)