tools/power turbostat: show GFX%rc6
authorLen Brown <len.brown@intel.com>
Sat, 27 Feb 2016 06:28:12 +0000 (01:28 -0500)
committerLen Brown <len.brown@intel.com>
Sun, 13 Mar 2016 07:55:41 +0000 (03:55 -0400)
commitfdf676e51f301d207586d9bac509b8ce055bae8a
treef4da5320e899ddd5cf760912d46924ef55a543ed
parent27d47356b6dfa92042a17a0b474f08910d4c8e8f
tools/power turbostat: show GFX%rc6

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>
tools/power/x86/turbostat/turbostat.c