public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Matthew Brost <matthew.brost@intel.com>
To: <igt-dev@lists.freedesktop.org>
Subject: [igt-dev] [RFC PATCH 0/1] Initial Xe test suite
Date: Thu, 22 Dec 2022 14:47:46 -0800	[thread overview]
Message-ID: <20221222224747.34894-1-matthew.brost@intel.com> (raw)

Initial Xe test suite for new Xe Intel GPU driver [1]. All major features of the
Xe uAPI and all internal code paths should have some basic coverage. Before
these new tests are upstreamed proper commit messages for each test will be
included plus kerneldoc describing what each test is testing and the
methodology. For the time being we are just including 1 large patch.

Cheers,
Matthew Brost

[1] https://patchwork.freedesktop.org/series/112188/

Matthew Brost (1):
  Xe: Introduce initial tests for the new Intel Xe GPU driver.

 include/drm-uapi/xe_drm.h       |  786 +++++++++++++++
 lib/drmtest.c                   |    3 +
 lib/drmtest.h                   |    1 +
 lib/meson.build                 |    4 +
 lib/xe/xe_compute.c             |  327 +++++++
 lib/xe/xe_compute.h             |   93 ++
 lib/xe/xe_ioctl.c               |  441 +++++++++
 lib/xe/xe_ioctl.h               |  107 +++
 lib/xe/xe_query.c               |  267 ++++++
 lib/xe/xe_query.h               |   76 ++
 lib/xe/xe_spin.c                |  157 +++
 lib/xe/xe_spin.h                |   66 ++
 meson.build                     |    8 +
 tests/meson.build               |    1 +
 tests/xe/meson.build            |   30 +
 tests/xe/xe_compute.c           |  130 +++
 tests/xe/xe_dma_buf_sync.c      |  226 +++++
 tests/xe/xe_evict.c             |  619 ++++++++++++
 tests/xe/xe_exec_balancer.c     |  620 ++++++++++++
 tests/xe/xe_exec_basic.c        |  294 ++++++
 tests/xe/xe_exec_compute_mode.c |  303 ++++++
 tests/xe/xe_exec_fault_mode.c   |  471 +++++++++
 tests/xe/xe_exec_reset.c        |  806 ++++++++++++++++
 tests/xe/xe_exec_threads.c      | 1148 ++++++++++++++++++++++
 tests/xe/xe_guc_pc.c            |  424 +++++++++
 tests/xe/xe_huc_copy.c          |  187 ++++
 tests/xe/xe_live_ktest.c        |   17 +
 tests/xe/xe_mmap.c              |   57 ++
 tests/xe/xe_pm.c                |  384 ++++++++
 tests/xe/xe_prime_self_import.c |  462 +++++++++
 tests/xe/xe_query.c             |  431 +++++++++
 tests/xe/xe_vm.c                | 1577 +++++++++++++++++++++++++++++++
 tests/xe/xe_waitfence.c         |   88 ++
 tools/meson.build               |    1 +
 tools/xe_reg.c                  |  366 +++++++
 35 files changed, 10978 insertions(+)
 create mode 100644 include/drm-uapi/xe_drm.h
 create mode 100644 lib/xe/xe_compute.c
 create mode 100644 lib/xe/xe_compute.h
 create mode 100644 lib/xe/xe_ioctl.c
 create mode 100644 lib/xe/xe_ioctl.h
 create mode 100644 lib/xe/xe_query.c
 create mode 100644 lib/xe/xe_query.h
 create mode 100644 lib/xe/xe_spin.c
 create mode 100644 lib/xe/xe_spin.h
 create mode 100644 tests/xe/meson.build
 create mode 100644 tests/xe/xe_compute.c
 create mode 100644 tests/xe/xe_dma_buf_sync.c
 create mode 100644 tests/xe/xe_evict.c
 create mode 100644 tests/xe/xe_exec_balancer.c
 create mode 100644 tests/xe/xe_exec_basic.c
 create mode 100644 tests/xe/xe_exec_compute_mode.c
 create mode 100644 tests/xe/xe_exec_fault_mode.c
 create mode 100644 tests/xe/xe_exec_reset.c
 create mode 100644 tests/xe/xe_exec_threads.c
 create mode 100644 tests/xe/xe_guc_pc.c
 create mode 100644 tests/xe/xe_huc_copy.c
 create mode 100644 tests/xe/xe_live_ktest.c
 create mode 100644 tests/xe/xe_mmap.c
 create mode 100644 tests/xe/xe_pm.c
 create mode 100644 tests/xe/xe_prime_self_import.c
 create mode 100644 tests/xe/xe_query.c
 create mode 100644 tests/xe/xe_vm.c
 create mode 100644 tests/xe/xe_waitfence.c
 create mode 100644 tools/xe_reg.c

-- 
2.37.3

             reply	other threads:[~2022-12-22 22:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-22 22:47 Matthew Brost [this message]
2022-12-22 22:47 ` [igt-dev] [RFC PATCH 1/1] Xe: Introduce initial tests for the new Intel Xe GPU driver Matthew Brost
2022-12-22 23:21 ` [igt-dev] ✗ Fi.CI.BUILD: failure for Initial Xe test suite Patchwork
2023-01-11 15:57 ` [igt-dev] [RFC PATCH 0/1] " Mauro Carvalho Chehab

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=20221222224747.34894-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