Skip to content

Add new GFXAMHz field to turbostat.

Rafael Antognolli linux-pm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1turbostat: Add a new GFXAMHz column that exposes gt_act_freq_mhz.tools/power/x86/turbostat/turbostat.c+50 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] Add new GFXAMHz field to turbostat.

Hi,

I work on the Mesa team at Intel and we have been using turbostat a lot to monitor CPU and GPU frequency. However, turbostat only displays the frequency read by /sys/class/graphics/fb0/device/drm/card0/gt_cur_freq_mhz. We have been also manually printing the content from gt_act_freq_mhz, but would be nice if it was just another column in turbostat.

The following patch adds that, with a field name called "GFXAMHz" (open to better names, of course). Would it be reasonable to have such patch?

If not, would you propose something else instead?

Thank you!

Rafael Antognolli (1):
turbostat: Add a new GFXAMHz column that exposes gt_act_freq_mhz.

 tools/power/x86/turbostat/turbostat.c | 50 +++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
Signature · 1 line
2.26.2