Re: [Intel-gfx] [PATCH] drm/i915: Expose energy counter on SNB+ through debugfs

2013-08-20 Thread Daniel Vetter
On Tue, Aug 20, 2013 at 10:29:23AM +0100, Chris Wilson 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] drm/i915: Expose energy counter on SNB+ through debugfs

2013-08-20 Thread Chris Wilson
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