From: Jesse Barnes Date: Fri, 27 Sep 2013 00:55:58 +0000 (-0700) Subject: drm/i915/vlv: use correct units for rc6 residency v2 X-Git-Tag: v3.13-rc1~76^2~80^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e454a05da623c26544721b159caaacdb6dfe448c;p=pandora-kernel.git drm/i915/vlv: use correct units for rc6 residency v2 We need to use the clock control reg to figure out how many CZ clks are in 30ns and use that as the basis for our RC6 residency calculations. v2: use ULL everywhere for consistency (Chris) factor out bias for clarity (Chris) References: https://bugs.freedesktop.org/show_bug.cgi?id=69692 Signed-off-by: Jesse Barnes Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed