aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_pm.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-06-07 12:41:09 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-07-16 04:32:09 -0400
commitf1e8fa56fd650e0a23f64afdf59f3907d9a89615 (patch)
treef9a4e7f24071ffe583bbc2a17bbdda90d9e2e07e /drivers/gpu/drm/i915/intel_pm.c
parent4bb353343dcc2486a1deda87f4c069153dc353c3 (diff)
drm/i915: We implement WaFbcDisableDpfcClockGating on ilk
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> 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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index d212e42638d9..9b95f78d352a 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -4416,7 +4416,10 @@ static void ironlake_init_clock_gating(struct drm_device *dev)
4416 struct drm_i915_private *dev_priv = dev->dev_private; 4416 struct drm_i915_private *dev_priv = dev->dev_private;
4417 uint32_t dspclk_gate = ILK_VRHUNIT_CLOCK_GATE_DISABLE; 4417 uint32_t dspclk_gate = ILK_VRHUNIT_CLOCK_GATE_DISABLE;
4418 4418
4419 /* Required for FBC */ 4419 /*
4420 * Required for FBC
4421 * WaFbcDisableDpfcClockGating:ilk
4422 */
4420 dspclk_gate |= ILK_DPFCRUNIT_CLOCK_GATE_DISABLE | 4423 dspclk_gate |= ILK_DPFCRUNIT_CLOCK_GATE_DISABLE |
4421 ILK_DPFCUNIT_CLOCK_GATE_DISABLE | 4424 ILK_DPFCUNIT_CLOCK_GATE_DISABLE |
4422 ILK_DPFDUNIT_CLOCK_GATE_ENABLE; 4425 ILK_DPFDUNIT_CLOCK_GATE_ENABLE;