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

Matthew Brost matthew.brost at intel.com
Thu Jul 27 01:21:32 UTC 2023


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

-- 
2.34.1



More information about the igt-dev mailing list