[igt-dev] [PATCH i-g-t v8 0/7] Initial Xe test suite

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Wed Mar 8 07:53:27 UTC 2023


This is continuation of https://patchwork.freedesktop.org/series/112191/

Series doesn't contain KUnit changes as they are not upstream IGT ready
yet. Functional changes (library, tests, etc.) were squashed to dedicated
patch to make review easier.

v3: address review comments (Kamil, Mauro)
v4: address review comments (Michał)
    - add documentation for most of public functions
    - use function generator instead of RETV() macro
    - fix gt usage on memory regioning (it might lead to same region)
v5: - fix _Static_assert() error produced on older compilers
    - temporary drop igt_doc.py, we'll provide new version for older
      pythons
v6: - alter xe_vm to use long long (Zbigniew)
v7: - fixed missed one subtest which should use long long (Zbigniew)
v8: - fixed two subtests which didn't compile on mips/armhf (Zbigniew)

Rodrigo Vivi (1):
  lib/igt_pm: Add a helper to query the runtime_usage.

Zbigniew Kempczyński (6):
  drm-uapi/xe_drm: Add Xe uAPI
  lib/xe: Introduce Xe library
  tests/xe: Add Xe IGT tests
  tools/xe_reg: Add Xe register read/write tool
  intel-ci/xe-fast-feedback: Introduce xe-fast-feedback list
  runner/job_list: return error on crashes while running --list-subtests

 include/drm-uapi/xe_drm.h                |  807 +++++++++++
 lib/drmtest.c                            |    3 +
 lib/drmtest.h                            |    1 +
 lib/igt_pm.c                             |   18 +
 lib/igt_pm.h                             |    1 +
 lib/meson.build                          |    4 +
 lib/xe/xe_compute.c                      |  406 ++++++
 lib/xe/xe_compute.h                      |   29 +
 lib/xe/xe_ioctl.c                        |  436 ++++++
 lib/xe/xe_ioctl.h                        |   87 ++
 lib/xe/xe_query.c                        |  471 +++++++
 lib/xe/xe_query.h                        |   94 ++
 lib/xe/xe_spin.c                         |  157 +++
 lib/xe/xe_spin.h                         |   48 +
 meson.build                              |    8 +
 runner/job_list.c                        |    1 +
 tests/intel-ci/meson.build               |    1 +
 tests/intel-ci/xe-fast-feedback.testlist |  140 ++
 tests/meson.build                        |    1 +
 tests/xe/meson.build                     |   33 +
 tests/xe/xe_compute.c                    |  148 ++
 tests/xe/xe_debugfs.c                    |  257 ++++
 tests/xe/xe_dma_buf_sync.c               |  262 ++++
 tests/xe/xe_evict.c                      |  623 +++++++++
 tests/xe/xe_exec_balancer.c              |  714 ++++++++++
 tests/xe/xe_exec_basic.c                 |  350 +++++
 tests/xe/xe_exec_compute_mode.c          |  364 +++++
 tests/xe/xe_exec_fault_mode.c            |  575 ++++++++
 tests/xe/xe_exec_reset.c                 |  817 +++++++++++
 tests/xe/xe_exec_threads.c               | 1166 ++++++++++++++++
 tests/xe/xe_guc_pc.c                     |  425 ++++++
 tests/xe/xe_huc_copy.c                   |  205 +++
 tests/xe/xe_mmap.c                       |   79 ++
 tests/xe/xe_mmio.c                       |   94 ++
 tests/xe/xe_pm.c                         |  385 ++++++
 tests/xe/xe_prime_self_import.c          |  489 +++++++
 tests/xe/xe_query.c                      |  475 +++++++
 tests/xe/xe_test_config.json             |  133 ++
 tests/xe/xe_vm.c                         | 1612 ++++++++++++++++++++++
 tests/xe/xe_waitfence.c                  |  103 ++
 tools/meson.build                        |    1 +
 tools/xe_reg.c                           |  366 +++++
 42 files changed, 12389 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/intel-ci/xe-fast-feedback.testlist
 create mode 100644 tests/xe/meson.build
 create mode 100644 tests/xe/xe_compute.c
 create mode 100644 tests/xe/xe_debugfs.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_mmap.c
 create mode 100644 tests/xe/xe_mmio.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_test_config.json
 create mode 100644 tests/xe/xe_vm.c
 create mode 100644 tests/xe/xe_waitfence.c
 create mode 100644 tools/xe_reg.c

-- 
2.34.1



More information about the igt-dev mailing list