[PATCH v8 0/7] Convert multiple bind ops to 1 job

Matthew Brost matthew.brost at intel.com
Thu Jul 4 04:16:45 UTC 2024


Continuation of merging parts of [1]. Patch #2 in this series is quite
large but unsure how to split the patch without breaking functionality.

Tested with [2].

v2:
 - Rebase
 - Add error injection patch
 - Fix dma-fence reservation for binds
v3:
 - Rebase
 - Error injection patch omitted in this rev
v4:
 - Rebase
 - Fix tlb invalidation (Paulo)
 - Add missing last fence dep / test to inspection (Inspection)
 - Add error injection patch back in 
v5:
 - Address Matthew Auld's feedback
v6:
 - Fix CI failure (Matthew Auld, CI)
 - Fix checkpatch issues
 - Return -ENOBUFS in Xe layer rather than DRM SA layer to avoid warns (Matthew Auld)
v7:
 - Address Matthew Auld's feedback
 - Fix mesa failure in which VM bind jobs timed on integrated parts if number of PTE updates > 510 (Paulo)
v8:
 - Rebase, resend for CI

Matt

[1] https://patchwork.freedesktop.org/series/125608/
[2] https://patchwork.freedesktop.org/series/129606/

Matthew Brost (7):
  drm/xe: s/xe_tile_migrate_engine/xe_tile_migrate_exec_queue
  drm/xe: Add xe_vm_pgtable_update_op to xe_vma_ops
  drm/xe: Add xe_exec_queue_last_fence_test_dep
  drm/xe: Convert multiple bind ops into single job
  drm/xe: Update VM trace events
  drm/xe: Update PT layer with better error handling
  drm/xe: Add VM bind IOCTL error injection

 drivers/gpu/drm/xe/xe_bo_types.h     |    2 +
 drivers/gpu/drm/xe/xe_device_types.h |   12 +
 drivers/gpu/drm/xe/xe_exec_queue.c   |   23 +
 drivers/gpu/drm/xe/xe_exec_queue.h   |    2 +
 drivers/gpu/drm/xe/xe_migrate.c      |  342 ++++---
 drivers/gpu/drm/xe/xe_migrate.h      |   34 +-
 drivers/gpu/drm/xe/xe_pt.c           | 1284 +++++++++++++++++---------
 drivers/gpu/drm/xe/xe_pt.h           |   14 +-
 drivers/gpu/drm/xe/xe_pt_types.h     |   48 +
 drivers/gpu/drm/xe/xe_sa.c           |    7 +
 drivers/gpu/drm/xe/xe_trace_bo.h     |   10 +-
 drivers/gpu/drm/xe/xe_vm.c           |  649 +++++--------
 drivers/gpu/drm/xe/xe_vm.h           |    2 +
 drivers/gpu/drm/xe/xe_vm_types.h     |   55 +-
 14 files changed, 1414 insertions(+), 1070 deletions(-)

-- 
2.34.1



More information about the Intel-xe mailing list