Skip to content

VM bind uAPI changes

Matthew Brost intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/xe: remove async worker, sync binds, new error handlingdrivers/gpu/drm/xe/xe_engine.c drivers/gpu/drm/xe/xe_engine_types.h drivers/gpu/drm/xe/xe_exec.c +7 more+203 -7241 reply
2/5drm/xe: Fix VM bind out-sync signaling orderingdrivers/gpu/drm/xe/xe_engine.c drivers/gpu/drm/xe/xe_engine.h drivers/gpu/drm/xe/xe_engine_types.h +1 more+124 -82 replies
3/5drm/xe: Allow num_binds == 0 in VM bind IOCTLdrivers/gpu/drm/xe/xe_vm.c+24 -150 replies
4/5drm/xe: Allow num_batch_buffer == 0 in exec IOCTLdrivers/gpu/drm/xe/xe_engine.c drivers/gpu/drm/xe/xe_engine_types.h drivers/gpu/drm/xe/xe_exec.c +3 more+29 -80 replies
5/5drm/xe/uapi: Add some VM bind kernel docinclude/uapi/drm/xe_drm.h+42 -30 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchRodrigo Vivi
1/5
2/5
3/5
4/5
5/5R-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] [PATCH 0/5] VM bind uAPI changes

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