Skip to content

drm/xe: Convert to drm_exec

Thomas Hellström intel-xe 6 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest6 patches 0 repliesNew
  2. v56 patches 0 repliesSuperseded
  3. v46 patches 3 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v36 patches12 repliesSuperseded
v26 patches0 repliesSuperseded
v16 patches0 repliesSuperseded

v2 from the cover letter

- Update also the xe display subsystem.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/xe/bo: Simplify xe_bo_lock()drivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/xe/tests/xe_bo.c drivers/gpu/drm/xe/xe_bo.c +5 more+91 -1030 replies
2/6drm/xe/vm: Simplify and document xe_vm_lock()drivers/gpu/drm/xe/tests/xe_bo.c drivers/gpu/drm/xe/tests/xe_migrate.c drivers/gpu/drm/xe/xe_bo.c +5 more+43 -530 replies
3/6drm/xe/bo: Remove the lock_no_vm()/unlock_no_vm() interfacedrivers/gpu/drm/i915/display/intel_fb.c drivers/gpu/drm/xe/tests/xe_bo.c drivers/gpu/drm/xe/tests/xe_dma_buf.c +4 more+13 -370 replies
4/6drm/xe: Rework xe_exec and the VM rebind worker to use the drm_exec helperdrivers/gpu/drm/xe/Kconfig drivers/gpu/drm/xe/xe_exec.c drivers/gpu/drm/xe/xe_vm.c +1 more+153 -2190 replies
5/6drm/xe: Convert pagefaulting code to use drm_execdrivers/gpu/drm/xe/xe_gt_pagefault.c drivers/gpu/drm/xe/xe_vm.c drivers/gpu/drm/xe/xe_vm.h+76 -600 replies
6/6drm/xe: Convert remaining instances of ttm_eu_reserve_buffers to drm_execdrivers/gpu/drm/xe/xe_vm.c+36 -580 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchMatthew Brost
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [Intel-xe] [PATCH v6 0/6] drm/xe: Convert to drm_exec

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

v2:
- Update also the xe display subsystem.
v3:
- Rebase to fix compilation failure with latest drm-xe-next.
- Disallow duplicate locks also in the rebind worker, where it was previously needed in a draft version.
v4:
- Reinstate a lost dma_resv_reserve_fences().
- Improve on xe_bo_lock() documentation (Matthew Brost)
- Improve on xe_vm_lock() documentation (Matthew Brost)
- Kerneldoc xe_vm_prepare_vma()
- Remove an unbalanced xe_bo_put() (igt and Matthew Brost) v5:
- Rebases
- Loop over drm_exec objects in reverse when unlocking v6:
- Drop the ww ticket when retrying the validation on OOM.

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/i915/display/intel_display.c |   5 +-
 drivers/gpu/drm/i915/display/intel_fb.c      |   4 +-
 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                   |  48 +-
 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                 |  77 +--
 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                   | 467 +++++++++----------
 drivers/gpu/drm/xe/xe_vm.h                   |  30 +-
 drivers/gpu/drm/xe/xe_vm_madvise.c           |  30 +-
 18 files changed, 393 insertions(+), 511 deletions(-)
Signature · 1 line
2.41.0