From: Mika Kuoppala Date: Wed, 9 Jul 2014 11:55:56 +0000 (+0300) Subject: drm/i915/chv: calculate rc6 residency correctly X-Git-Tag: cleanup-for-v3.18~84^2~20^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=542a6b205b184ec90e2108aaebaf8ba16128baec;p=pandora-kernel.git drm/i915/chv: calculate rc6 residency correctly 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 Cc: Jesse Barnes Signed-off-by: Mika Kuoppala Tested-by: Guo Jinxian Reviewed-by: Deepak S Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed