On Tue, 27 Mar 2012 18:59:39 -0700, Ben Widawsky <ben at bwidawsk.net> wrote: > Merge rc6 information into the power group for our device. Until now the > i915 driver has not had any sysfs entries (aside from the connector > stuff enabled by drm core). Since it seems like we're likely to have > more in the future I created a new file for sysfs stubs, as well as the > rc6 sysfs functions which don't really belong elsewhere (perhaps > i915_suspend, but most of the stuff is in intel_display,c). > > displays rc6 modes enabled (as a hex mask): > cat /sys/class/drm/card0/power/rc6_enable > > displays #ms GPU has been in rc6 since boot: > cat /sys/class/drm/card0/power/rc6 > > displays #ms GPU has been in deep rc6 since boot: > cat /sys/class/drm/card0/power/rc6p > > displays #ms GPU has been in deepest rc6 since boot: > cat /sys/class/drm/card0/power/rc6pp Last comments, I promise. /sys/class/drm/card0/power/rc6_uptime_ms or /sys/class/drm/card0/power/rc6_total[_ms] or /sys/class/drm/card0/power/rc6_residency[_ms] A plain (rc6, rc6p, rc6pp) is just too vague and so may conflict with a future knob we wish to expose via sysfs. -Chris -- Chris Wilson, Intel Open Source Technology Centre