]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/power turbostat: show GFX%rc6
authorLen Brown <len.brown@intel.com>
Sat, 27 Feb 2016 06:28:12 +0000 (01:28 -0500)
committerDhaval Giani <dhaval.giani@oracle.com>
Mon, 16 Jan 2017 20:11:11 +0000 (15:11 -0500)
commit004f1cc402f0df275cbbcce78400fb79c83d3b30
tree202fd0abfbcc39cef9d3608a55c634a61546a6d3
parent925219caee635a6943b65f6df1ea3ceccff39775
tools/power turbostat: show GFX%rc6

Orabug: 24811361

The column "GFX%c6" show the percentage of time the GPU
is in the "render C6" state, rc6.  Deep package C-states on several
systems depend on the GPU being in RC6.

This information comes from the counter
/sys/class/drm/card0/power/rc6_residency_ms,
as read before and after the measurement interval.

Signed-off-by: Len Brown <len.brown@intel.com>
(cherry picked from commit fdf676e51f301d207586d9bac509b8ce055bae8a)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
tools/power/x86/turbostat/turbostat.c