Skip to content

Power/energy and display memory bandwidth measurement tools

Ville Syrjala igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5lib/power: Allow use of rapl by specifying fd=-1lib/igt_power.c+1 -12 replies
2/5igt: Use is_intel_dgfx()lib/igt_power.c tests/intel/kms_pm_dc.c tests/intel/kms_pm_rpm.c +1 more+10 -171 reply
3/5lib/igt_power: Add power_supply/BAT based measurementlib/igt_power.c lib/igt_power.h+64 -12 replies
4/5tools/power: Introduce a small power/energy measurement tooltools/meson.build tools/power.c+180 -01 reply
5/5tools/intel_display_bandwidth: Tool for measuring display memory bandwidth utilizationlib/intel_reg.h tools/intel_display_bandwidth.c tools/meson.build+177 -05 replies

Reviews trailers per patch

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

PatchKamil KoniecznyVinod Govindapillai
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-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 0/5] Power/energy and display memory bandwidth measurement tools

From: Ville Syrjälä <[email protected]>

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
Signature · 1 line
2.44.2