Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ashutosh Dixit <ashutosh.dixit@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [PATCH i-g-t 00/16] Intel Xe OA IGT lib and tools
Date: Fri, 28 Jun 2024 15:23:42 -0700	[thread overview]
Message-ID: <20240628222358.2151036-1-ashutosh.dixit@intel.com> (raw)

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

-- 
2.41.0


             reply	other threads:[~2024-06-28 22:24 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-28 22:23 Ashutosh Dixit [this message]
2024-06-28 22:23 ` [PATCH i-g-t 01/16] lib/xe/oa: Import OA metric generation files from i915 Ashutosh Dixit
2024-06-28 22:23 ` [PATCH i-g-t 02/16] lib/xe/oa: Add LNL metric guids Ashutosh Dixit
2024-06-28 22:23 ` [PATCH i-g-t 03/16] lib/xe/oa: Add OA LNL metrics (oa_lnl.xml) Ashutosh Dixit
2024-06-28 22:23 ` [PATCH i-g-t 04/16] lib/xe/oa: Add truncated legacy Xe1 metrics XML's Ashutosh Dixit
2024-06-28 22:23 ` [PATCH i-g-t 05/16] lib/xe/oa: Generate LNL metrics/registers files Ashutosh Dixit
2024-06-28 22:23 ` [PATCH i-g-t 06/16] lib/xe/oa: Switch generated files to Xe namespace Ashutosh Dixit
2024-06-28 22:23 ` [PATCH i-g-t 07/16] drm-uapi/xe: Sync with Perf/OA changes Ashutosh Dixit
2024-06-28 22:23 ` [PATCH i-g-t 08/16] lib/xe: Complete xe_oa lib functionality Ashutosh Dixit
2024-06-28 22:23 ` [PATCH i-g-t 09/16] tests/intel/xe_query: Add OA units query test Ashutosh Dixit
2024-06-28 22:23 ` [PATCH i-g-t 10/16] lib/xe/oa: Add xe_oa_data_reader to IGT lib Ashutosh Dixit
2024-06-28 22:23 ` [PATCH i-g-t 11/16] tools/xe-perf: Add xe_perf_recorder Ashutosh Dixit
2024-06-28 22:23 ` [PATCH i-g-t 12/16] tools/xe-perf: xe_perf_reader, xe_perf_control and xe_perf_configs Ashutosh Dixit
2024-06-28 22:23 ` [PATCH i-g-t 13/16] xe/oa: Fix invalid escape warnings Ashutosh Dixit
2024-06-28 22:23 ` [PATCH i-g-t 14/16] xe/oa/mdapi-xml-convert: Add support for 576B_PEC64LL format Ashutosh Dixit
2024-06-28 22:23 ` [PATCH i-g-t 15/16] xe/oa: Regenerate oa-lnl.xml now parsing all counters Ashutosh Dixit
2024-06-28 22:23 ` [PATCH i-g-t 16/16] xe/oa/oa-metricset-codegen: Fix XE_OA_FORMAT_PEC64u64 offsets Ashutosh Dixit
2024-06-28 23:13 ` ✓ CI.xeBAT: success for Intel Xe OA IGT lib and tools (rev3) Patchwork
2024-06-28 23:23 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-06-29  0:10 ` ✓ CI.xeFULL: success " Patchwork
2024-06-29  0:33 ` ✓ CI.xeBAT: success for Intel Xe OA IGT lib and tools (rev4) Patchwork
2024-06-29  0:42 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-06-29  1:31 ` ✗ CI.xeFULL: " Patchwork
2024-06-29  6:39 ` ✓ CI.xeBAT: success for Intel Xe OA IGT lib and tools (rev5) Patchwork
2024-06-29  6:59 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-06-29  7:40 ` ✓ CI.xeFULL: success " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2024-06-26 20:54 [PATCH i-g-t 00/16] Intel Xe OA IGT lib and tools Ashutosh Dixit

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=20240628222358.2151036-1-ashutosh.dixit@intel.com \
    --to=ashutosh.dixit@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