[PATCH 00/16] drm/xe: Adjust to DRM GPUVM changes

Thomas Hellström thomas.hellstrom at linux.intel.com
Thu Dec 7 14:11:40 UTC 2023


The needed changes for a rebase on top of the latest GPUVM updates.
We need to convert the xe changes to fixups, and a follow up-series
will make uses of the added GPUVM utilities once we have rebased.

Note that the drm/xe changes *all* need to be applied for the code to
compile.

Danilo Krummrich (11):
  drm/gpuvm: convert WARN() to drm_WARN() variants
  drm/gpuvm: don't always WARN in drm_gpuvm_check_overflow()
  drm/gpuvm: export drm_gpuvm_range_valid()
  drm/nouveau: make use of drm_gpuvm_range_valid()
  drm/gpuvm: add common dma-resv per struct drm_gpuvm
  drm/nouveau: make use of the GPUVM's shared dma-resv
  drm/gpuvm: add drm_gpuvm_flags to drm_gpuvm
  drm/nouveau: separately allocate struct nouveau_uvmm
  drm/gpuvm: reference count drm_gpuvm structures
  drm/gpuvm: add an abstraction for a VM / BO combination
  drm/gpuvm: track/lock/validate external/evicted objects

Thomas Hellström (5):
  drm/xe: Adjust to "drm/gpuvm: add common dma-resv per struct
    drm_gpuvm"
  drm/xe: Adjust to commit "drm/gpuvm: add drm_gpuvm_flags to drm_gpuvm"
  drm/xe: Adjust to commit drm/gpuvm: reference count drm_gpuvm
    structures
  drm/xe: Adjust to commit "drm/gpuvm: add an abstraction for a VM/BO
    combination"
  drm/xe: Use DRM_GPUVM_RESV_PROTECTED for gpuvm

 drivers/gpu/drm/drm_gpuvm.c            | 1131 ++++++++++++++++++++++--
 drivers/gpu/drm/nouveau/nouveau_bo.c   |   11 +-
 drivers/gpu/drm/nouveau/nouveau_bo.h   |    5 +
 drivers/gpu/drm/nouveau/nouveau_drm.c  |    5 +-
 drivers/gpu/drm/nouveau/nouveau_drv.h  |   10 +-
 drivers/gpu/drm/nouveau/nouveau_gem.c  |   10 +-
 drivers/gpu/drm/nouveau/nouveau_uvmm.c |  170 ++--
 drivers/gpu/drm/nouveau/nouveau_uvmm.h |    8 -
 drivers/gpu/drm/xe/xe_bo.c             |   28 +-
 drivers/gpu/drm/xe/xe_bo.h             |   11 +-
 drivers/gpu/drm/xe/xe_exec.c           |    4 +-
 drivers/gpu/drm/xe/xe_migrate.c        |    4 +-
 drivers/gpu/drm/xe/xe_pt.c             |    6 +-
 drivers/gpu/drm/xe/xe_vm.c             |  164 ++--
 drivers/gpu/drm/xe/xe_vm.h             |   26 +-
 drivers/gpu/drm/xe/xe_vm_types.h       |    8 -
 include/drm/drm_gem.h                  |   32 +-
 include/drm/drm_gpuvm.h                |  521 ++++++++++-
 18 files changed, 1859 insertions(+), 295 deletions(-)

-- 
2.42.0



More information about the Intel-xe mailing list