Skip to content

Intel Xe OA IGT lib and tools

Ashutosh Dixit igt-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16lib/xe/oa: Import OA metric generation files from i915lib/xe/oa-configs/README.md lib/xe/oa-configs/codegen.py lib/xe/oa-configs/guids.xml +6 more+5479 -00 replies
2/16lib/xe/oa: Add LNL metric guidslib/xe/oa-configs/guids.xml lib/xe/oa-configs/oa_guid_registry.py lib/xe/oa-configs/update-guids.py+18 -10 replies
3/16lib/xe/oa: Add OA LNL metrics (oa_lnl.xml)lib/xe/oa-configs/mdapi-xml-convert.py lib/xe/oa-configs/oa-lnl.xml+2824 -00 replies
4/16lib/xe/oa: Add truncated legacy Xe1 metrics XML'slib/xe/oa-configs/oa-acmgt1.xml lib/xe/oa-configs/oa-acmgt2.xml lib/xe/oa-configs/oa-acmgt3.xml +7 more+8054 -00 replies
5/16lib/xe/oa: Generate LNL metrics/registers fileslib/xe/oa-configs/oa-metricset-codegen.py+16 -30 replies
6/16lib/xe/oa: Switch generated files to Xe namespacelib/xe/oa-configs/codegen.py lib/xe/oa-configs/oa-equations-codegen.py lib/xe/oa-configs/oa-metricset-codegen.py +1 more+39 -390 replies
7/16drm-uapi/xe: Sync with Perf/OA changesinclude/drm-uapi/xe_drm.h+308 -00 replies
8/16lib/xe: Complete xe_oa lib functionalitylib/intel_device_info.c lib/meson.build lib/xe-oa.pc.in +4 more+1622 -00 replies
9/16tests/intel/xe_query: Add OA units query testtests/intel/xe_query.c+53 -00 replies
10/16lib/xe/oa: Add xe_oa_data_reader to IGT liblib/meson.build lib/xe/xe_oa_data.h lib/xe/xe_oa_data_reader.c +1 more+560 -00 replies
11/16tools/xe-perf: Add xe_perf_recordertools/meson.build tools/xe-perf/meson.build tools/xe-perf/xe_perf_recorder.c +1 more+1264 -00 replies
12/16tools/xe-perf: xe_perf_reader, xe_perf_control and xe_perf_configstools/xe-perf/meson.build tools/xe-perf/xe_perf_configs.c tools/xe-perf/xe_perf_control.c +1 more+706 -00 replies
13/16xe/oa: Fix invalid escape warningslib/xe/oa-configs/codegen.py lib/xe/oa-configs/mdapi-xml-convert.py+7 -70 replies
14/16xe/oa/mdapi-xml-convert: Add support for 576B_PEC64LL formatlib/xe/oa-configs/codegen.py lib/xe/oa-configs/mdapi-xml-convert.py lib/xe/xe_oa.h+67 -150 replies
15/16xe/oa: Regenerate oa-lnl.xml now parsing all counterslib/xe/oa-configs/oa-lnl.xml+5557 -13720 replies
16/16xe/oa/oa-metricset-codegen: Fix XE_OA_FORMAT_PEC64u64 offsetslib/xe/oa-configs/oa-metricset-codegen.py+1 -50 replies

Reviews trailers per patch

All 16 patches have a Reviewed-by or Acked-by.

PatchUmesh Nerlige Ramappa
1/16R-b
2/16R-b
3/16R-b
4/16R-b
5/16R-b
6/16R-b
7/16R-b
8/16R-b
9/16R-b
10/16R-b
11/16R-b
12/16R-b
13/16R-b
14/16R-b
15/16R-b
16/16R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH i-g-t 00/16] Intel Xe OA IGT lib and tools

Originally posted as part of
https://patchwork.freedesktop.org/series/130033/, separate out the IGT lib and tools and try to merge these first, before merging the OA IGT's so that we have some more time to review the tests before merging.

Gpuvis support for perf traces from Intel Xe driver is based on tools and IGT lib changes included here.

All patches here have R-b without any outstanding issues.

v2: Try to fix Gitlab.Pipeline failures with v1 (using to/from_user_pointer
in intel_xe_perf_ioctl and xe_oa_prop_to_ext
v3: More Gitlab.Pipeline fixes for failures in v2

Ashutosh Dixit (12):
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: Add truncated legacy Xe1 metrics XML's lib/xe/oa: Generate LNL metrics/registers files lib/xe/oa: Switch generated files to Xe namespace drm-uapi/xe: Sync with Perf/OA changes
lib/xe: Complete xe_oa lib functionality tests/intel/xe_query: Add OA units query test lib/xe/oa: Add xe_oa_data_reader to IGT lib tools/xe-perf: Add xe_perf_recorder
tools/xe-perf: xe_perf_reader, xe_perf_control and xe_perf_configs

José Roberto de Souza (4):
xe/oa: Fix invalid escape warnings xe/oa/mdapi-xml-convert: Add support for 576B_PEC64LL format xe/oa: Regenerate oa-lnl.xml now parsing all counters xe/oa/oa-metricset-codegen: Fix XE_OA_FORMAT_PEC64u64 offsets

 include/drm-uapi/xe_drm.h                 |  308 +
 lib/intel_device_info.c                   |    1 +
 lib/meson.build                           |   89 +
 lib/xe-oa.pc.in                           |   11 +
 lib/xe/oa-configs/README.md               |  115 +
 lib/xe/oa-configs/codegen.py              |  449 ++
 lib/xe/oa-configs/guids.xml               | 2763 ++++++++
 lib/xe/oa-configs/mdapi-xml-convert.py    | 1267 ++++
 lib/xe/oa-configs/oa-acmgt1.xml           |  710 +++
 lib/xe/oa-configs/oa-acmgt2.xml           |  828 +++
 lib/xe/oa-configs/oa-acmgt3.xml           |  824 +++
 lib/xe/oa-configs/oa-adl.xml              |  816 +++
 lib/xe/oa-configs/oa-dg1.xml              |  823 +++
 lib/xe/oa-configs/oa-equations-codegen.py |  261 +
 lib/xe/oa-configs/oa-lnl.xml              | 6984 +++++++++++++++++++++
 lib/xe/oa-configs/oa-metricset-codegen.py |  266 +
 lib/xe/oa-configs/oa-mtlgt2.xml           |  789 +++
 lib/xe/oa-configs/oa-mtlgt3.xml           |  803 +++
 lib/xe/oa-configs/oa-registers-codegen.py |  118 +
 lib/xe/oa-configs/oa-rkl.xml              |  824 +++
 lib/xe/oa-configs/oa-tglgt1.xml           |  819 +++
 lib/xe/oa-configs/oa-tglgt2.xml           |  818 +++
 lib/xe/oa-configs/oa_guid_registry.py     |  119 +
 lib/xe/oa-configs/update-guids.py         |  223 +
 lib/xe/xe_oa.c                            | 1074 ++++
 lib/xe/xe_oa.h                            |  408 ++
 lib/xe/xe_oa_data.h                       |  101 +
 lib/xe/xe_oa_data_reader.c                |  369 ++
 lib/xe/xe_oa_data_reader.h                |   87 +
 lib/xe/xe_query.c                         |   38 +
 lib/xe/xe_query.h                         |    5 +
 tests/intel/xe_query.c                    |   53 +
 tools/meson.build                         |    1 +
 tools/xe-perf/meson.build                 |   22 +
 tools/xe-perf/xe_perf_configs.c           |  247 +
 tools/xe-perf/xe_perf_control.c           |  117 +
 tools/xe-perf/xe_perf_reader.c            |  325 +
 tools/xe-perf/xe_perf_recorder.c          | 1227 ++++
 tools/xe-perf/xe_perf_recorder_commands.h |   31 +
 39 files changed, 25133 insertions(+)
 create mode 100644 lib/xe-oa.pc.in
 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-acmgt1.xml
 create mode 100644 lib/xe/oa-configs/oa-acmgt2.xml
 create mode 100644 lib/xe/oa-configs/oa-acmgt3.xml
 create mode 100644 lib/xe/oa-configs/oa-adl.xml
 create mode 100644 lib/xe/oa-configs/oa-dg1.xml
 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-mtlgt2.xml
 create mode 100644 lib/xe/oa-configs/oa-mtlgt3.xml
 create mode 100644 lib/xe/oa-configs/oa-registers-codegen.py
 create mode 100644 lib/xe/oa-configs/oa-rkl.xml
 create mode 100644 lib/xe/oa-configs/oa-tglgt1.xml
 create mode 100644 lib/xe/oa-configs/oa-tglgt2.xml
 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 lib/xe/xe_oa_data.h
 create mode 100644 lib/xe/xe_oa_data_reader.c
 create mode 100644 lib/xe/xe_oa_data_reader.h
 create mode 100644 tools/xe-perf/meson.build
 create mode 100644 tools/xe-perf/xe_perf_configs.c
 create mode 100644 tools/xe-perf/xe_perf_control.c
 create mode 100644 tools/xe-perf/xe_perf_reader.c
 create mode 100644 tools/xe-perf/xe_perf_recorder.c
 create mode 100644 tools/xe-perf/xe_perf_recorder_commands.h
Signature · 1 line
2.41.0