Skip to content

Add tests for upcoming uAPI / IOCTL behavior changes

Matthew Brost igt-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4xe: Update to new VM bind uAPIinclude/drm-uapi/xe_drm.h lib/intel_batchbuffer.c lib/xe/xe_compute.c +20 more+140 -3740 replies
2/4xe_vm: Add section to test zero number of VM bindslib/xe/xe_ioctl.c lib/xe/xe_ioctl.h tests/xe/xe_vm.c+85 -00 replies
3/4xe_exec_basic: Add section to test zero number of BB in exec IOCTLtests/xe/xe_exec_basic.c+107 -00 replies
4/4xe_vm: Add EIO testlib/xe/xe_ioctl.c lib/xe/xe_ioctl.h tests/xe/xe_vm.c+211 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [igt-dev] [PATCH 0/4] Add tests for upcoming uAPI / IOCTL behavior changes

The uAPI is going to change slightly wrt sync vs async VM binds, how error handling is done, and exec / bind IOCTLs will accept zero operations as valid.

Change the IGTs to support new behavior + add a few more tests.

Matthew Brost (4):
xe: Update to new VM bind uAPI
xe_vm: Add section to test zero number of VM binds
xe_exec_basic: Add section to test zero number of BB in exec IOCTL
xe_vm: Add EIO test

 include/drm-uapi/xe_drm.h       |  94 +------
 lib/intel_batchbuffer.c         |   2 +-
 lib/xe/xe_compute.c             |   2 +-
 lib/xe/xe_ioctl.c               |  58 ++++-
 lib/xe/xe_ioctl.h               |   8 +-
 lib/xe/xe_query.c               |   2 +-
 tests/xe/xe_ccs.c               |   4 +-
 tests/xe/xe_create.c            |   6 +-
 tests/xe/xe_evict.c             |  23 +-
 tests/xe/xe_exec_balancer.c     |   6 +-
 tests/xe/xe_exec_basic.c        | 112 ++++++++-
 tests/xe/xe_exec_compute_mode.c |   6 +-
 tests/xe/xe_exec_fault_mode.c   |   6 +-
 tests/xe/xe_exec_reset.c        |   8 +-
 tests/xe/xe_exec_store.c        |   4 +-
 tests/xe/xe_exec_threads.c      | 122 +++------
 tests/xe/xe_exercise_blt.c      |   2 +-
 tests/xe/xe_guc_pc.c            |   2 +-
 tests/xe/xe_huc_copy.c          |   2 +-
 tests/xe/xe_intel_bb.c          |   2 +-
 tests/xe/xe_pm.c                |   2 +-
 tests/xe/xe_vm.c                | 426 +++++++++++++++++++++-----------
 tests/xe/xe_waitfence.c         |  19 +-
 23 files changed, 543 insertions(+), 375 deletions(-)
Signature · 1 line
2.34.1