[Intel-xe] [PATCH 0/5] VM bind uAPI changes

Matthew Brost matthew.brost at intel.com
Thu Jul 27 01:39:53 UTC 2023


uAPI chnages mostly posted in [1]. The uAPI mainly revolve around VM
bind, in particular sync vs async binds and error handling. The uAPI
should conform the VM bind document [2] that is on the list. Tested with
[3], uAPI change do break backwards compatibility albiet in a very minor
way. The uAPI should be extendable enough if the error handling needs to
be chnaged, it should be as simple as setting a bit or property in the
VM creation.

Matt

[1] https://patchwork.freedesktop.org/series/117156/
[2] https://patchwork.freedesktop.org/series/119672/
[3] https://patchwork.freedesktop.org/series/121400/

Matthew Brost (5):
  drm/xe: remove async worker, sync binds, new error handling
  drm/xe: Fix VM bind out-sync signaling ordering
  drm/xe: Allow num_binds == 0 in VM bind IOCTL
  drm/xe: Allow num_batch_buffer == 0 in exec IOCTL
  drm/xe/uapi: Add some VM bind kernel doc

 drivers/gpu/drm/xe/xe_engine.c          |  85 ++-
 drivers/gpu/drm/xe/xe_engine.h          |   7 +
 drivers/gpu/drm/xe/xe_engine_types.h    |   7 +
 drivers/gpu/drm/xe/xe_exec.c            |  64 +-
 drivers/gpu/drm/xe/xe_sync.c            |  19 +-
 drivers/gpu/drm/xe/xe_sync.h            |   4 +-
 drivers/gpu/drm/xe/xe_vm.c              | 765 +++++++-----------------
 drivers/gpu/drm/xe/xe_vm.h              |   2 -
 drivers/gpu/drm/xe/xe_vm_types.h        |  37 +-
 drivers/gpu/drm/xe/xe_wait_user_fence.c |  43 +-
 include/uapi/drm/xe_drm.h               | 129 ++--
 11 files changed, 413 insertions(+), 749 deletions(-)

-- 
2.34.1



More information about the Intel-xe mailing list