drm/i915: call lpt_init_clock_gating on BDW too
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 21 Aug 2014 20:09:36 +0000 (17:09 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 09:04:20 +0000 (11:04 +0200)
Because BDW has WPT, which is equivalent to LPT. This is just like the
CPT/PPT case.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c

index a381c9997a25ef6a6819056d21b0b9ca49aa261d..88944607b3a71c569b4f5df263d9e8a61e0e2be6 100644 (file)
@@ -5607,6 +5607,8 @@ static void gen8_init_clock_gating(struct drm_device *dev)
        /* Wa4x4STCOptimizationDisable:bdw */
        I915_WRITE(CACHE_MODE_1,
                   _MASKED_BIT_ENABLE(GEN8_4x4_STC_OPTIMIZATION_DISABLE));
+
+       lpt_init_clock_gating(dev);
 }
 
 static void haswell_init_clock_gating(struct drm_device *dev)