[Intel-gfx] [PATCH 1/2] drm/i915/vlv: use lower precision RC6 counter

2013-09-26 Thread Jesse Barnes
And add some reg defines while we're at it. Since the units of the RC6 residency counter are actually in CZ clocks, we want to just use the high bits or we'll overflow too frequently. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/i915_reg.h | 4 drivers/gpu/drm/i915/intel_pm.c | 5 +

Re: [Intel-gfx] [PATCH 1/2] drm/i915/vlv: use lower precision RC6 counter

2013-09-26 Thread Ben Widawsky
On Thu, Sep 26, 2013 at 12:33:20PM -0700, Jesse Barnes wrote: > And add some reg defines while we're at it. Since the units of the RC6 > residency counter are actually in CZ clocks, we want to just use the > high bits or we'll overflow too frequently. > > Signed-off-by: Jesse Barnes > --- > dri

[Intel-gfx] [PATCH 1/2] drm/i915/vlv: use lower precision RC6 counter

2013-09-26 Thread Jesse Barnes
And add some reg defines while we're at it. Since the units of the RC6 residency counter are actually in CZ clocks, we want to just use the high bits or we'll overflow too frequently. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/i915_reg.h | 4 drivers/gpu/drm/i915/intel_pm.c | 5 +