[Intel-xe] [PATCH 0/6] Convert to drm_exec

Thomas Hellström thomas.hellstrom at linux.intel.com
Wed Aug 30 15:22:48 UTC 2023


Convert the driver to use drm_exec instead of ttm_eu_reserve_buffers().

Thomas Hellström (6):
  drm/xe/bo: Simplify xe_bo_lock()
  drm/xe/vm: Simplify and document xe_vm_lock()
  drm/xe/bo: Remove the lock_no_vm()/unlock_no_vm() interface
  drm/xe: Rework xe_exec and the VM rebind worker to use the drm_exec
    helper
  drm/xe: Convert pagefaulting code to use drm_exec
  drm/xe: Convert remaining instances of ttm_eu_reserve_buffers to
    drm_exec

 drivers/gpu/drm/xe/Kconfig            |   1 +
 drivers/gpu/drm/xe/tests/xe_bo.c      |  35 +-
 drivers/gpu/drm/xe/tests/xe_dma_buf.c |   4 +-
 drivers/gpu/drm/xe/tests/xe_migrate.c |   7 +-
 drivers/gpu/drm/xe/xe_bo.c            |  47 +--
 drivers/gpu/drm/xe/xe_bo.h            |  28 +-
 drivers/gpu/drm/xe/xe_bo_evict.c      |  19 +-
 drivers/gpu/drm/xe/xe_dma_buf.c       |   5 +-
 drivers/gpu/drm/xe/xe_exec.c          |  71 ++--
 drivers/gpu/drm/xe/xe_exec_queue.c    |   5 +-
 drivers/gpu/drm/xe/xe_gt_pagefault.c  | 117 +++----
 drivers/gpu/drm/xe/xe_lrc.c           |  12 +-
 drivers/gpu/drm/xe/xe_migrate.c       |  10 +-
 drivers/gpu/drm/xe/xe_vm.c            | 462 ++++++++++++--------------
 drivers/gpu/drm/xe/xe_vm.h            |  30 +-
 drivers/gpu/drm/xe/xe_vm_madvise.c    |  30 +-
 16 files changed, 381 insertions(+), 502 deletions(-)

-- 
2.41.0



More information about the Intel-xe mailing list