Skip to content

Convert multiple bind ops to 1 job

Matthew Brost intel-xe 8 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest7 patches 0 repliesNew
  2. v77 patches 0 repliesSuperseded
  3. v67 patches 5 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v57 patches5 repliesSuperseded
v47 patches7 repliesSuperseded
v35 patches2 repliesSuperseded
v26 patches7 repliesSuperseded
v15 patches0 repliesSuperseded

Changes in v8 from the cover letter

- Rebase, resend for CI

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm/xe: s/xe_tile_migrate_engine/xe_tile_migrate_exec_queuedrivers/gpu/drm/xe/xe_migrate.c drivers/gpu/drm/xe/xe_migrate.h+5 -60 replies
2/7drm/xe: Add xe_vm_pgtable_update_op to xe_vma_opsdrivers/gpu/drm/xe/xe_pt_types.h drivers/gpu/drm/xe/xe_vm.c drivers/gpu/drm/xe/xe_vm_types.h+84 -20 replies
3/7drm/xe: Add xe_exec_queue_last_fence_test_depdrivers/gpu/drm/xe/xe_exec_queue.c drivers/gpu/drm/xe/xe_exec_queue.h+25 -00 replies
4/7drm/xe: Convert multiple bind ops into single jobdrivers/gpu/drm/xe/xe_bo_types.h drivers/gpu/drm/xe/xe_migrate.c drivers/gpu/drm/xe/xe_migrate.h +7 more+1063 -10250 replies
5/7drm/xe: Update VM trace eventsdrivers/gpu/drm/xe/xe_trace_bo.h drivers/gpu/drm/xe/xe_vm.c+45 -70 replies
6/7drm/xe: Update PT layer with better error handlingdrivers/gpu/drm/xe/xe_pt.c+167 -650 replies
7/7drm/xe: Add VM bind IOCTL error injectiondrivers/gpu/drm/xe/xe_device_types.h drivers/gpu/drm/xe/xe_pt.c drivers/gpu/drm/xe/xe_vm.c +1 more+61 -10 replies

Reviews trailers per patch

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

PatchJonathan CavittMatthew Auld
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

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

Read the v8 thread

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

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(-)
Signature · 1 line
2.34.1