[PATCH i-g-t 0/5] Power/energy and display memory bandwidth measurement tools
Ville Syrjala
ville.syrjala at linux.intel.com
Mon Sep 16 20:18:36 UTC 2024
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
Add a couple of small tools for measuring energy/power consumption
and display memory bandwidth utlization (on Intel hw). Might be
helpful for other people as well, and having them in igt will allow
me to mostly forget aboyt my local copies of these.
Ville Syrjälä (5):
lib/power: Allow use of rapl by specifying fd=-1
igt: Use is_intel_dgfx()
lib/igt_power: Add power_supply/BAT based measurement
tools/power: Introduce a small power/energy measurement tool
tools/intel_display_bandwidth: Tool for measuring display memory
bandwidth utilization
lib/igt_power.c | 66 +++++++++++-
lib/igt_power.h | 5 +-
lib/intel_reg.h | 5 +
tests/intel/kms_pm_dc.c | 6 +-
tests/intel/kms_pm_rpm.c | 6 +-
tests/kms_addfb_basic.c | 9 +-
tools/intel_display_bandwidth.c | 171 ++++++++++++++++++++++++++++++
tools/meson.build | 2 +
tools/power.c | 179 ++++++++++++++++++++++++++++++++
9 files changed, 431 insertions(+), 18 deletions(-)
create mode 100644 tools/intel_display_bandwidth.c
create mode 100644 tools/power.c
--
2.44.2
More information about the igt-dev
mailing list