Re: [Intel-gfx] [PATCH 7/7] drm/i915: expose energy counter on SNB and IVB

2013-04-10 Thread Ben Widawsky
On Wed, Apr 10, 2013 at 03:27:05PM +0100, Chris Wilson wrote: > On Fri, Sep 07, 2012 at 10:51:44AM -0700, Ben Widawsky wrote: > > On Fri, 7 Sep 2012 12:03:37 +0200 > > Daniel Vetter wrote: > > > > > On Thu, Sep 06, 2012 at 01:54:10PM -0700, Ben Widawsky wrote: > > > > From: Jesse Barnes > > > >

Re: [Intel-gfx] [PATCH 7/7] drm/i915: expose energy counter on SNB and IVB

2013-04-10 Thread Chris Wilson
On Fri, Sep 07, 2012 at 10:51:44AM -0700, Ben Widawsky wrote: > On Fri, 7 Sep 2012 12:03:37 +0200 > Daniel Vetter wrote: > > > On Thu, Sep 06, 2012 at 01:54:10PM -0700, Ben Widawsky wrote: > > > From: Jesse Barnes > > > > > > On SNB and IVB, there's an MSR (also exposed through MCHBAR) we can u

Re: [Intel-gfx] [PATCH 7/7] drm/i915: expose energy counter on SNB and IVB

2012-09-07 Thread Ben Widawsky
On Fri, 7 Sep 2012 12:03:37 +0200 Daniel Vetter wrote: > On Thu, Sep 06, 2012 at 01:54:10PM -0700, Ben Widawsky wrote: > > From: Jesse Barnes > > > > On SNB and IVB, there's an MSR (also exposed through MCHBAR) we can use > > to read out the amount of energy used over time. Expose this in sysf

Re: [Intel-gfx] [PATCH 7/7] drm/i915: expose energy counter on SNB and IVB

2012-09-07 Thread Daniel Vetter
On Thu, Sep 06, 2012 at 01:54:10PM -0700, Ben Widawsky wrote: > From: Jesse Barnes > > On SNB and IVB, there's an MSR (also exposed through MCHBAR) we can use > to read out the amount of energy used over time. Expose this in sysfs > to make it easy to do power comparisons with different configur

[Intel-gfx] [PATCH 7/7] drm/i915: expose energy counter on SNB and IVB

2012-09-06 Thread Ben Widawsky
From: Jesse Barnes On SNB and IVB, there's an MSR (also exposed through MCHBAR) we can use to read out the amount of energy used over time. Expose this in sysfs to make it easy to do power comparisons with different configurations. If the platform supports it, the file will show up under the dr