On Mon, 26 Mar 2012 09:33:51 -0300 Eugeni Dodonov <[email protected]> wrote:
> On Mon, Mar 26, 2012 at 06:34, Daniel Vetter <[email protected]> wrote: > > > On Sun, Mar 25, 2012 at 05:33:27PM -0700, Ben Widawsky wrote: > > > RC6 residency should be in intervals of 1.28us, and the counter > > > wraps. Here is an example using awk to get the various RC6 and > > > RC6+ residency times in seconds, since boot. > > > > > > cat /sys/kernel/debug/dri/0/i915_drpc_info | grep residency | > > > awk -F':' > > -F' ' '{print $5 * 1.28 / 1000000}' > > > > > > This is primarily for debug, and QA/application developers using > > > the sysfs interface looking for more insight. > > > > > > Untested on IVB. > > > > Tested on my ivb, seems to yield sane numbers for the default > > configuration (i.e. enable rc+rc6p, disable rc6pp). > > > > Yeah, it should work on IVB except for some strange behavior > sometimes (I noticed that on IVB we sometimes get into RC6 even if we > pass the i915_enable_rc6=0 parameter). I don't know if it is Bios > playing some tricks with us or something changed in the mailbox > communication, but no harm came from this so far. I'll see what is > going on there. > > But for the patch itself: > Reviewed-by: Eugeni Dodonov <[email protected]> > > Nothing like new and shiny powertop power-saving options :). > I'd like to resubmit this patch with either %u or %x instead of the %d. Can I still keep your r-b? _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
