Re: [Intel-gfx] [PATCH] drm/i915: add rc6 residency times to debugfs

2012-03-24 Thread Daniel Vetter
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 wrote: > > > > > RC6 residency should be in intervals of 1.28us, and the counter wraps. > > > Here is an example using a

Re: [Intel-gfx] [PATCH] drm/i915: add rc6 residency times to debugfs

2012-03-24 Thread Daniel Vetter
On Fri, Mar 23, 2012 at 01:43:22PM -0300, Eugeni Dodonov wrote: > On Thu, Mar 22, 2012 at 22:42, 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 RC6 and RC6+ residency in > > seconds, since boot. > > > >

Re: [Intel-gfx] [PATCH] drm/i915: add rc6 residency times to debugfs

2012-03-23 Thread Ben Widawsky
On Fri, 23 Mar 2012 13:43:22 -0300 Eugeni Dodonov wrote: > On Thu, Mar 22, 2012 at 22:42, 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 RC6 and RC6+ > > residency in seconds, since boot. > > > > cat /

Re: [Intel-gfx] [PATCH] drm/i915: add rc6 residency times to debugfs

2012-03-23 Thread Eugeni Dodonov
On Thu, Mar 22, 2012 at 22:42, 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 RC6 and RC6+ residency in > seconds, since boot. > > cat /sys/kernel/debug/dri/0/i915_drpc_info | grep residency | awk -F':' > -F'

[Intel-gfx] [PATCH] drm/i915: add rc6 residency times to debugfs

2012-03-22 Thread Ben Widawsky
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 / 100}' This is primarily for QA, bu