Skip to content

RFC Syncs vs async exec/bind uAPI change

Matthew Brost intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm/xe: Use a flags field instead of bools for VMA createdrivers/gpu/drm/xe/xe_vm.c+34 -300 replies
2/7drm/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/7drm/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/7drm/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/7drm/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+121 -92 replies
6/7drm/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 -40 replies
7/7drm/xe/uapi: Uniform async vs sync handlingdrivers/gpu/drm/xe/xe_exec.c drivers/gpu/drm/xe/xe_exec_queue.c drivers/gpu/drm/xe/xe_exec_queue_types.h +3 more+129 -11911 replies

Reviews trailers per patch

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

PatchThomas HellströmRodrigo Vivi
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7
7/7R-b

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

Read the v1 thread

Cover letter [Intel-xe] [RFC PATCH 0/7] Syncs vs async exec/bind uAPI change

Last patch should explain it nicely, built on top of [1].

Backwards breaking, IGT change will be on list shortly.

Matt

[1] https://patchwork.freedesktop.org/series/126546/

Matthew Brost (7):
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 drm/xe/uapi: Uniform async vs sync handling

 drivers/gpu/drm/xe/xe_exec.c             |  88 +++++++--
 drivers/gpu/drm/xe/xe_exec_queue.c       |  12 +-
 drivers/gpu/drm/xe/xe_exec_queue_types.h |   7 +-
 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               | 242 ++++++++++++-----------
 drivers/gpu/drm/xe/xe_vm_types.h         |  15 +-
 include/uapi/drm/xe_drm.h                |  56 +++---
 11 files changed, 373 insertions(+), 175 deletions(-)
Signature · 1 line
2.34.1