Skip to content

Add hwmon energy support for dgfx

Ashutosh Dixit igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8lib/igt_hwmon: Introduce library igt_hwmonlib/igt_hwmon.c lib/igt_hwmon.h lib/meson.build+86 -02 replies
2/8lib/igt_power: Rename lib igt_rapl with igt_powerlib/igt_power.c lib/igt_power.h lib/meson.build +4 more+8 -90 replies
3/8lib/igt_power: Add hwmon interface to igt_powerlib/igt_power.c lib/igt_power.h+153 -00 replies
4/8i915/i915_pm_rc6_residency: Add energy support for dgfxtests/i915/i915_pm_rc6_residency.c+36 -270 replies
5/8i915/gem_exec_schedule: Add energy support for dgfxtests/i915/gem_exec_schedule.c+24 -250 replies
6/8i915/gem_exec_whisper: Add energy support for dgfxtests/i915/gem_exec_whisper.c+8 -60 replies
7/8lib/igt_power: clean-up igt_power librarylib/igt_power.c lib/igt_power.h+12 -590 replies
8/8HAX: run i915_pm_rc6_residency tests in BATtests/intel-ci/fast-feedback.testlist+2 -00 replies

Reviews trailers per patch

7 of 8 patches have a Reviewed-by or Acked-by.

PatchAshutosh Dixit
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8

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

Read the v1 thread

Cover letter [igt-dev] [PATCH i-g-t 0/8] Add hwmon energy support for dgfx

Introduce igt_power library that reads energy from hwmon & rapl interfaces. Replace igt_rapl with igt_power.

Modify the existing tests that use igt_rapl to igt_power.

v2: Re-order patches to fix compilation
v3: Changes not documented but all patches R-b'd
v4: Identical to v3, sending again in order to "Test-with" kernel
hwmon series

Riana Tauro (8):
lib/igt_hwmon: Introduce library igt_hwmon lib/igt_power: Rename lib igt_rapl with igt_power lib/igt_power: Add hwmon interface to igt_power i915/i915_pm_rc6_residency: Add energy support for dgfx i915/gem_exec_schedule: Add energy support for dgfx i915/gem_exec_whisper: Add energy support for dgfx lib/igt_power: clean-up igt_power library
HAX: run i915_pm_rc6_residency tests in BAT

 lib/igt_hwmon.c                       |  73 +++++++++
 lib/igt_hwmon.h                       |  12 ++
 lib/igt_power.c                       | 211 ++++++++++++++++++++++++++
 lib/{igt_rapl.h => igt_power.h}       |  78 +++-------
 lib/igt_rapl.c                        |  69 ---------
 lib/meson.build                       |   3 +-
 tests/i915/gem_exec_fair.c            |   1 -
 tests/i915/gem_exec_schedule.c        |  51 +++----
 tests/i915/gem_exec_whisper.c         |  16 +-
 tests/i915/i915_pm_rc6_residency.c    |  65 ++++----
 tests/intel-ci/fast-feedback.testlist |   2 +
 11 files changed, 392 insertions(+), 189 deletions(-)
 create mode 100644 lib/igt_hwmon.c
 create mode 100644 lib/igt_hwmon.h
 create mode 100644 lib/igt_power.c
 rename lib/{igt_rapl.h => igt_power.h} (51%)
 delete mode 100644 lib/igt_rapl.c
Signature · 1 line
2.38.0