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

Matthew Brost matthew.brost at intel.com
Wed Dec 6 22:21:35 UTC 2023


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(-)

-- 
2.34.1



More information about the Intel-xe mailing list