Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-xe] [PATCH v5 0/6] drm/xe: Convert to drm_exec
@ 2023-09-06 15:39 Thomas Hellström
  2023-09-06 15:39 ` [Intel-xe] [PATCH v5 1/6] drm/xe/bo: Simplify xe_bo_lock() Thomas Hellström
                   ` (25 more replies)
  0 siblings, 26 replies; 27+ messages in thread
From: Thomas Hellström @ 2023-09-06 15:39 UTC (permalink / raw)
  To: intel-xe

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


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                 |  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                   | 475 +++++++++----------
 drivers/gpu/drm/xe/xe_vm.h                   |  30 +-
 drivers/gpu/drm/xe/xe_vm_madvise.c           |  30 +-
 18 files changed, 397 insertions(+), 509 deletions(-)

-- 
2.41.0


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2023-09-08  1:13 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-06 15:39 [Intel-xe] [PATCH v5 0/6] drm/xe: Convert to drm_exec Thomas Hellström
2023-09-06 15:39 ` [Intel-xe] [PATCH v5 1/6] drm/xe/bo: Simplify xe_bo_lock() Thomas Hellström
2023-09-06 15:39 ` [Intel-xe] [PATCH v5 2/6] drm/xe/vm: Simplify and document xe_vm_lock() Thomas Hellström
2023-09-06 15:39 ` [Intel-xe] [PATCH v5 3/6] drm/xe/bo: Remove the lock_no_vm()/unlock_no_vm() interface Thomas Hellström
2023-09-06 15:39 ` [Intel-xe] [PATCH v5 4/6] drm/xe: Rework xe_exec and the VM rebind worker to use the drm_exec helper Thomas Hellström
2023-09-06 15:39 ` [Intel-xe] [PATCH v5 5/6] drm/xe: Convert pagefaulting code to use drm_exec Thomas Hellström
2023-09-06 15:39 ` [Intel-xe] [PATCH v5 6/6] drm/xe: Convert remaining instances of ttm_eu_reserve_buffers to drm_exec Thomas Hellström
2023-09-06 15:42 ` [Intel-xe] ✓ CI.Patch_applied: success for drm/xe: Convert to drm_exec (rev4) Patchwork
2023-09-06 15:42 ` [Intel-xe] ✓ CI.checkpatch: " Patchwork
2023-09-06 15:43 ` [Intel-xe] ✓ CI.KUnit: " Patchwork
2023-09-06 15:50 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-09-06 15:51 ` [Intel-xe] ✓ CI.Hooks: " Patchwork
2023-09-06 15:52 ` [Intel-xe] ✗ CI.checksparse: warning " Patchwork
2023-09-07 14:08 ` [Intel-xe] ✓ CI.Patch_applied: success for drm/xe: Convert to drm_exec (rev5) Patchwork
2023-09-07 14:08 ` [Intel-xe] ✓ CI.checkpatch: " Patchwork
2023-09-07 14:09 ` [Intel-xe] ✓ CI.KUnit: " Patchwork
2023-09-07 14:16 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-09-07 14:17 ` [Intel-xe] ✓ CI.Hooks: " Patchwork
2023-09-07 14:18 ` [Intel-xe] ✗ CI.checksparse: warning " Patchwork
2023-09-07 14:50 ` [Intel-xe] ✗ CI.BAT: failure " Patchwork
2023-09-08  0:32 ` [Intel-xe] ✓ CI.Patch_applied: success for drm/xe: Convert to drm_exec (rev6) Patchwork
2023-09-08  0:32 ` [Intel-xe] ✓ CI.checkpatch: " Patchwork
2023-09-08  0:33 ` [Intel-xe] ✓ CI.KUnit: " Patchwork
2023-09-08  0:40 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-09-08  0:41 ` [Intel-xe] ✓ CI.Hooks: " Patchwork
2023-09-08  0:42 ` [Intel-xe] ✗ CI.checksparse: warning " Patchwork
2023-09-08  1:13 ` [Intel-xe] ✗ CI.BAT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox