Re: [Intel-gfx] [PATCH] drm/i915/chv: calculate rc6 residency correctly

2014-07-12 Thread Daniel Vetter
On Wed, Jul 09, 2014 at 02:55:56PM +0300, Mika Kuoppala wrote: The register to read cz count is different from vlv. Also the counts returned from CCK_CTL1 for BSW are (ticks in 30ns - 1). czcount_30ns of value 1 is a special case for 320Mhz. Bugzilla:

[Intel-gfx] [PATCH] drm/i915/chv: calculate rc6 residency correctly

2014-07-09 Thread Mika Kuoppala
The register to read cz count is different from vlv. Also the counts returned from CCK_CTL1 for BSW are (ticks in 30ns - 1). czcount_30ns of value 1 is a special case for 320Mhz. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80703 Suggested-by: Deepak S deepa...@linux.intel.com Cc: Jesse