]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.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)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 29 Aug 2016 16:25:01 +0000 (10:25 -0600)
commitb8986387d9d1da98755373ad14eb268df4aa8c59
tree7080a24c99572adbf80313fd774d31f95049676b
parent1f2f8e71aa11213f4bed2f81224d4f7386bcf95b
tools/power turbostat: show GFX%rc6

BugLink: http://bugs.launchpad.net/bugs/1591802
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: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Acked-by: Kamal Mostafa <kamal@canonical.com>
tools/power/x86/turbostat/turbostat.c