[PATCH v3 00/11] Context based TLB invalidations

Matthew Brost
2026-01-12T23:27:36Z

Add support for context based TLB invalidations.

Matt

Matthew Brost (11):
drm/xe: Add normalize_invalidation_range
drm/xe: Make usm.asid_to_vm allocation use GFP_NOWAIT
drm/xe: Add xe_device_asid_to_vm helper
drm/xe: Add vm to exec queues association
drm/xe: Taint TLB invalidation seqno lock with GFP_KERNEL
drm/xe: Rename send_tlb_inval_ppgtt to send_tlb_inval_asid_ppgtt
drm/xe: Add send_tlb_inval_ppgtt helper
drm/xe: Add xe_tlb_inval_idle helper
drm/xe: Add exec queue active vfunc
drm/xe: Add context-based invalidation to GuC TLB invalidation backend
drm/xe: Enable context TLB invalidations for CI

drivers/gpu/drm/xe/xe_device.c | 25 +++
drivers/gpu/drm/xe/xe_device.h | 11 +-
drivers/gpu/drm/xe/xe_device_types.h | 9 +
drivers/gpu/drm/xe/xe_exec_queue.c | 7 +-
drivers/gpu/drm/xe/xe_exec_queue_types.h | 5 +
drivers/gpu/drm/xe/xe_execlist.c | 7 +
drivers/gpu/drm/xe/xe_guc_submit.c | 6 +
drivers/gpu/drm/xe/xe_guc_tlb_inval.c | 238 ++++++++++++++++++-----
drivers/gpu/drm/xe/xe_pci.c | 2 +
drivers/gpu/drm/xe/xe_pci_types.h | 1 +
drivers/gpu/drm/xe/xe_tlb_inval.c | 33 ++++
drivers/gpu/drm/xe/xe_tlb_inval.h | 2 +
drivers/gpu/drm/xe/xe_vm.c | 48 ++++-
drivers/gpu/drm/xe/xe_vm.h | 3 +
drivers/gpu/drm/xe/xe_vm_types.h | 13 ++
15 files changed, 356 insertions(+), 54 deletions(-)

--
2.34.1