Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Brost <matthew.brost@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH 0/4] Add tests for upcoming uAPI / IOCTL behavior changes
Date: Wed, 26 Jul 2023 18:21:32 -0700	[thread overview]
Message-ID: <20230727012136.456190-1-matthew.brost@intel.com> (raw)

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

             reply	other threads:[~2023-07-27  1:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-27  1:21 Matthew Brost [this message]
2023-07-27  1:21 ` [igt-dev] [PATCH 1/4] xe: Update to new VM bind uAPI Matthew Brost
2023-07-27  1:21 ` [igt-dev] [PATCH 2/4] xe_vm: Add section to test zero number of VM binds Matthew Brost
2023-07-27  1:21 ` [igt-dev] [PATCH 3/4] xe_exec_basic: Add section to test zero number of BB in exec IOCTL Matthew Brost
2023-07-27  1:21 ` [igt-dev] [PATCH 4/4] xe_vm: Add EIO test Matthew Brost
2023-07-27  2:47 ` [igt-dev] ✓ Fi.CI.BAT: success for Add tests for upcoming uAPI / IOCTL behavior changes Patchwork
2023-07-27  4:09 ` [igt-dev] ○ CI.xeBAT: info " Patchwork
2023-07-27  6:29 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230727012136.456190-1-matthew.brost@intel.com \
    --to=matthew.brost@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox