diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-04-24 09:51:43 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-05-03 05:18:12 -0400 |
commit | 13a86b85aca24f825c7843cdcd81eaff19fa4ea9 (patch) | |
tree | eba5e1acca1d5cceee7fd23d576e613e5bf4f6d1 /drivers/gpu/drm/i915/intel_pm.c | |
parent | 1070a42b6bc5cc10a33d2fe22f0b295a0194a582 (diff) |
drm/i915: CR clock gating is recommend to be set on PineView
The specs recommend that this bit be set on PineView. No reason is
given, but it sounds like a powersaving bit that we should expect the
BIOS to be setting...
v2: Rebase on top of _MASKED_ENABLE_BIT
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_pm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 93d4ce3fc122..0552058a202f 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c | |||
@@ -2878,6 +2878,9 @@ static void gen3_init_clock_gating(struct drm_device *dev) | |||
2878 | dstate |= DSTATE_PLL_D3_OFF | DSTATE_GFX_CLOCK_GATING | | 2878 | dstate |= DSTATE_PLL_D3_OFF | DSTATE_GFX_CLOCK_GATING | |
2879 | DSTATE_DOT_CLOCK_GATING; | 2879 | DSTATE_DOT_CLOCK_GATING; |
2880 | I915_WRITE(D_STATE, dstate); | 2880 | I915_WRITE(D_STATE, dstate); |
2881 | |||
2882 | if (IS_PINEVIEW(dev)) | ||
2883 | I915_WRITE(ECOSKPD, _MASKED_BIT_ENABLE(ECO_GATING_CX_ONLY)); | ||
2881 | } | 2884 | } |
2882 | 2885 | ||
2883 | static void i85x_init_clock_gating(struct drm_device *dev) | 2886 | static void i85x_init_clock_gating(struct drm_device *dev) |