[igt-dev] [PATCH i-g-t 00/20] Extend i915/perf for testing Xe OA

Ashutosh Dixit ashutosh.dixit at intel.com
Tue Aug 8 00:59:57 UTC 2023


* Share i915 perf code between i915 and Xe.
* A few shortcuts, but hopefully sufficient for testing initial Xe OA
  patches.

v2: s/xe_engine/xe_exec_queue/

Ashutosh Dixit (20):
  drm-uapi/xe_drm: OA changes
  lib/xe/xe_query: Add xe_gts interface
  lib/i915/perf: Add xe_perf_for_fd
  lib/i915/perf: Derive topology info for xe devices
  tests/i915/perf: Track variables across i915 and xe
  tests/i915/perf: Skip not ready tests for xe
  tests/i915/perf: Fix i915_perf_revision for use with xe
  tests/i915/perf: Fix sysfs functions for xe
  tests/i915/perf: Fix test_i915_ref_count for xe
  tests/i915/perf: Support only default_engine_group for xe
  tests/i915/perf: Only iterate over render engines for xe
  tests/i915/perf: Don't load module
  tests/i915/perf: Move test_sysctl_defaults after the fixture
  tests/i915/perf: Fix has_class_instance for xe
  tests/i915/perf: Temporarily skip render_copy for xe
  tests/i915/perf: Skip intel_ctx_create_all_physical for xe
  tests/i915/perf: Skip __for_each_render_engine for xe
  tests/i915/perf: Fix buf_map for xe
  tests/i915/perf: Use engine_id in gen12_test_mi_rpc for xe
  HAX: Add OA tests to xe-fast-feedback.testlist

 include/drm-uapi/xe_drm.h                | 257 ++++++++++++++++++++++-
 lib/i915/perf.c                          | 169 ++++++++++++++-
 lib/i915/perf.h                          |   1 +
 lib/meson.build                          |   2 +-
 lib/xe/xe_query.c                        |   8 +
 lib/xe/xe_query.h                        |   1 +
 tests/i915/perf.c                        | 234 ++++++++++++++-------
 tests/intel-ci/xe-fast-feedback.testlist |  43 ++++
 tests/intel-ci/xe.blocklist.txt          |   1 -
 9 files changed, 637 insertions(+), 79 deletions(-)

-- 
2.41.0



More information about the igt-dev mailing list