Skip to content

Allow num_binds/num_batch_buffer to be zero IOCTLs

Matthew Brost intel-xe 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 2 repliesIn review
  2. v35 patches 3 repliesSuperseded
  3. v25 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches9 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/xe: Use a flags field instead of bools for VMA createdrivers/gpu/drm/xe/xe_vm.c+34 -300 replies
2/6drm/xe: Use a flags field instead of bools for sync parsedrivers/gpu/drm/xe/xe_exec.c drivers/gpu/drm/xe/xe_sync.c drivers/gpu/drm/xe/xe_sync.h +1 more+13 -60 replies
3/6drm/xe: Allow num_binds == 0 in VM bind IOCTLdrivers/gpu/drm/xe/xe_sync.c drivers/gpu/drm/xe/xe_sync.h drivers/gpu/drm/xe/xe_vm.c+27 -140 replies
4/6drm/xe: Allow num_batch_buffer == 0 in exec IOCTLdrivers/gpu/drm/xe/xe_exec.c drivers/gpu/drm/xe/xe_exec_queue.c drivers/gpu/drm/xe/xe_exec_queue_types.h+23 -40 replies
5/6drm/xe: Take in-syncs into account when num_execs or num_binds == 0drivers/gpu/drm/xe/xe_exec.c drivers/gpu/drm/xe/xe_sync.c drivers/gpu/drm/xe/xe_sync.h +1 more+120 -90 replies
6/6drm/xe: Add last fence as dependency for jobs on user exec queuesdrivers/gpu/drm/xe/xe_exec.c drivers/gpu/drm/xe/xe_exec_queue.c drivers/gpu/drm/xe/xe_migrate.c +2 more+37 -42 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by.

PatchThomas Hellström
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6
6/6

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

Read the v4 thread

Cover letter [Intel-xe] [PATCH v4 0/6] Allow num_binds/num_batch_buffer to be zero IOCTLs

Easy way to flush exec queues. A semantic that VK will likely use.

v2: Rebase
v3: Bug fixes
v4: Address Thomas + Chechpatch feedback

Matthew Brost (6):
drm/xe: Use a flags field instead of bools for VMA create drm/xe: Use a flags field instead of bools for sync parse drm/xe: Allow num_binds == 0 in VM bind IOCTL
drm/xe: Allow num_batch_buffer == 0 in exec IOCTL drm/xe: Take in-syncs into account when num_execs or num_binds == 0 drm/xe: Add last fence as dependency for jobs on user exec queues

 drivers/gpu/drm/xe/xe_exec.c             |  32 ++++-
 drivers/gpu/drm/xe/xe_exec_queue.c       |   5 +-
 drivers/gpu/drm/xe/xe_exec_queue_types.h |   5 +-
 drivers/gpu/drm/xe/xe_migrate.c          |  14 ++-
 drivers/gpu/drm/xe/xe_sched_job.c        |  17 +++
 drivers/gpu/drm/xe/xe_sched_job.h        |   4 +
 drivers/gpu/drm/xe/xe_sync.c             |  82 ++++++++++++-
 drivers/gpu/drm/xe/xe_sync.h             |  11 +-
 drivers/gpu/drm/xe/xe_vm.c               | 141 +++++++++++++++--------
 9 files changed, 249 insertions(+), 62 deletions(-)
Signature · 1 line
2.34.1