On Sat, Mar 24, 2012 at 03:58:01PM +0100, Daniel Vetter wrote:
> On Fri, Mar 23, 2012 at 01:43:22PM -0300, Eugeni Dodonov wrote:
> > On Thu, Mar 22, 2012 at 22:42, Ben Widawsky <b...@bwidawsk.net> wrote:
> > 
> > > RC6 residency should be in intervals of 1.28us, and the counter wraps.
> > > Here is an example using awk to get the RC6 and RC6+ residency 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 QA, but has other applications as well.
> > >
> > 
> > Note that we already have this in intel_reg_dumper as well, since
> > http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/commit/?id=47a5bc505cb972cc94f1fbd9882d4e5c2e72ac43
> > .
> > 
> > But if it makes sense to include it into kernel as well, why not?
> > 
> > Reviewed-by: Eugeni Dodonov <eugeni.dodo...@intel.com>
> 
> Queued for -next, thanks for the patch and review.

Unqueued after some irc discussion with Ben, looks like we don't yet fully
understand how this works (and at least an rc6pp reg seems to be missing).
-Daniel
-- 
Daniel Vetter
Mail: dan...@ffwll.ch
Mobile: +41 (0)79 365 57 48
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to