aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2013-03-08 13:45:54 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-03-23 07:18:01 -0400
commit4e8c84a5b14bbb5b88c63941f1d939560f4abd0b (patch)
treea655b5049f7d241b5f94ab3ce6c65086db0e4587
parentd3bc03030a3994181d420e9f3b858fe6edd71839 (diff)
drm/i915: set conservative clock gating values on VLV v2
We'll re-enable select bits as needed after testing and power measurement. v2: split out wake handling bits (Jani) Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--drivers/gpu/drm/i915/intel_pm.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 0bb94d963b0a..8a3d89ecae69 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -3987,7 +3987,16 @@ static void valleyview_init_clock_gating(struct drm_device *dev)
3987 * Disable clock gating on th GCFG unit to prevent a delay 3987 * Disable clock gating on th GCFG unit to prevent a delay
3988 * in the reporting of vblank events. 3988 * in the reporting of vblank events.
3989 */ 3989 */
3990 I915_WRITE(VLV_GUNIT_CLOCK_GATE, GCFG_DIS); 3990 I915_WRITE(VLV_GUNIT_CLOCK_GATE, 0xffffffff);
3991
3992 /* Conservative clock gating settings for now */
3993 I915_WRITE(0x9400, 0xffffffff);
3994 I915_WRITE(0x9404, 0xffffffff);
3995 I915_WRITE(0x9408, 0xffffffff);
3996 I915_WRITE(0x940c, 0xffffffff);
3997 I915_WRITE(0x9410, 0xffffffff);
3998 I915_WRITE(0x9414, 0xffffffff);
3999 I915_WRITE(0x9418, 0xffffffff);
3991} 4000}
3992 4001
3993static void g4x_init_clock_gating(struct drm_device *dev) 4002static void g4x_init_clock_gating(struct drm_device *dev)