[Intel-xe] [PATCH v4 0/9] GPUVA with no uAPI changes

Matthew Brost matthew.brost at intel.com
Fri Jun 30 17:57:55 UTC 2023


The patches from [1] rebased + address review feedback which do not
include uAPI changes. 

[1] https://patchwork.freedesktop.org/series/117156/

v2: Fix build error
v3: Fix lockdep splat CI caught
v4: Fix build error

Danilo Krummrich (3):
  maple_tree: split up MA_STATE() macro
  drm: manager to keep track of GPUs VA mappings
  drm: debugfs: provide infrastructure to dump a DRM GPU VA space

Matthew Brost (6):
  drm/xe: Ban a VM if rebind worker hits an error
  drm/xe: Add helpers to hide struct xe_vma internals
  maple_tree: Export mas_preallocate
  drm/xe: Remove __xe_vm_bind forward declaration
  drm/xe: Port Xe to GPUVA
  drm/xe: Avoid doing rebinds

 Documentation/gpu/drm-mm.rst                |   42 +
 drivers/gpu/drm/Makefile                    |    1 +
 drivers/gpu/drm/drm_debugfs.c               |   41 +
 drivers/gpu/drm/drm_gem.c                   |    3 +
 drivers/gpu/drm/drm_gpuva_mgr.c             | 1971 ++++++++++++++++++
 drivers/gpu/drm/xe/tests/xe_migrate.c       |    2 +-
 drivers/gpu/drm/xe/xe_bo.c                  |    9 +-
 drivers/gpu/drm/xe/xe_device.c              |    2 +-
 drivers/gpu/drm/xe/xe_engine.c              |   13 +
 drivers/gpu/drm/xe/xe_exec.c                |    8 +-
 drivers/gpu/drm/xe/xe_gt_pagefault.c        |   23 +-
 drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c |   14 +-
 drivers/gpu/drm/xe/xe_migrate.c             |   10 +-
 drivers/gpu/drm/xe/xe_pt.c                  |  129 +-
 drivers/gpu/drm/xe/xe_pt.h                  |    2 +-
 drivers/gpu/drm/xe/xe_trace.h               |   15 +-
 drivers/gpu/drm/xe/xe_vm.c                  | 2009 ++++++++++---------
 drivers/gpu/drm/xe/xe_vm.h                  |  104 +-
 drivers/gpu/drm/xe/xe_vm_madvise.c          |   91 +-
 drivers/gpu/drm/xe/xe_vm_types.h            |  175 +-
 include/drm/drm_debugfs.h                   |   25 +
 include/drm/drm_drv.h                       |    6 +
 include/drm/drm_gem.h                       |   52 +
 include/drm/drm_gpuva_mgr.h                 |  682 +++++++
 include/linux/maple_tree.h                  |    7 +-
 lib/maple_tree.c                            |    1 +
 26 files changed, 4186 insertions(+), 1251 deletions(-)
 create mode 100644 drivers/gpu/drm/drm_gpuva_mgr.c
 create mode 100644 include/drm/drm_gpuva_mgr.h

-- 
2.34.1



More information about the Intel-xe mailing list