[PATCH i-g-t 00/18] Intel Xe OA IGT's

Ashutosh Dixit ashutosh.dixit at intel.com
Fri Feb 16 23:16:45 UTC 2024


This series adds OA IGT's for Intel Xe KMD. These tests are for the kernel
series posted here:

https://patchwork.freedesktop.org/series/121084/

This series is also available at:

https://gitlab.freedesktop.org/adixit/igt-gpu-tools/-/tree/xe-oa.prep

Only LNL support is included in this series. Xe1 support has not been
included because Metrics XML's for those platforms are large and cannot be
sent over mail.

The complete series, with Xe1 support, is available here:

https://gitlab.freedesktop.org/adixit/igt-gpu-tools/-/tree/xe-oa

Ashutosh Dixit (18):
  lib/xe/oa: Import OA metric generation files from i915
  lib/xe/oa: Add LNL metric guids
  lib/xe/oa: Add OA LNL metrics (oa_lnl.xml)
  lib/xe/oa: Generate LNL metrics/registers files
  drm-uapi/xe: Sync with Perf/OA changes
  lib/xe: Complete xe_oa lib changes
  tests/intel/xe_query: Add OA units query test
  tests/intel/xe_oa: Add first tests
  tests/intel/xe_oa: Add some negative tests
  tests/intel/xe_oa: Add "oa-formats" subtest
  tests/intel/xe_oa: Add oa exponent tests
  tests/intel/xe_oa: buffer-fill, non-zero-reason, enable-disable
  tests/intel/xe_oa: blocking and polling tests
  tests/intel/xe_oa: OAR/OAC tests
  tests/intel/xe_oa: Exclusive/concurrent access, rc6 and stress open
    close
  tests/intel/xe_oa: add remove OA config tests
  tests/intel/xe_oa: OA buffer mmap tests
  tests/intel/xe_oa: Register whitelisting and MMIO trigger tests

 include/drm-uapi/xe_drm.h                 |  321 +-
 lib/intel_device_info.c                   |    1 +
 lib/meson.build                           |   74 +
 lib/xe/oa-configs/README.md               |  115 +
 lib/xe/oa-configs/codegen.py              |  444 ++
 lib/xe/oa-configs/guids.xml               | 2763 ++++++++++++
 lib/xe/oa-configs/mdapi-xml-convert.py    | 1221 +++++
 lib/xe/oa-configs/oa-equations-codegen.py |  261 ++
 lib/xe/oa-configs/oa-lnl.xml              | 2799 ++++++++++++
 lib/xe/oa-configs/oa-metricset-codegen.py |  304 ++
 lib/xe/oa-configs/oa-registers-codegen.py |  118 +
 lib/xe/oa-configs/oa_guid_registry.py     |  131 +
 lib/xe/oa-configs/update-guids.py         |  223 +
 lib/xe/xe_oa.c                            |  699 +++
 lib/xe/xe_oa.h                            |  328 ++
 lib/xe/xe_query.c                         |   38 +
 lib/xe/xe_query.h                         |    5 +
 tests/intel/xe_oa.c                       | 4924 +++++++++++++++++++++
 tests/intel/xe_query.c                    |   53 +
 tests/meson.build                         |    2 +
 20 files changed, 14823 insertions(+), 1 deletion(-)
 create mode 100644 lib/xe/oa-configs/README.md
 create mode 100644 lib/xe/oa-configs/codegen.py
 create mode 100644 lib/xe/oa-configs/guids.xml
 create mode 100755 lib/xe/oa-configs/mdapi-xml-convert.py
 create mode 100644 lib/xe/oa-configs/oa-equations-codegen.py
 create mode 100644 lib/xe/oa-configs/oa-lnl.xml
 create mode 100644 lib/xe/oa-configs/oa-metricset-codegen.py
 create mode 100644 lib/xe/oa-configs/oa-registers-codegen.py
 create mode 100644 lib/xe/oa-configs/oa_guid_registry.py
 create mode 100755 lib/xe/oa-configs/update-guids.py
 create mode 100644 lib/xe/xe_oa.c
 create mode 100644 lib/xe/xe_oa.h
 create mode 100644 tests/intel/xe_oa.c

-- 
2.41.0



More information about the igt-dev mailing list