drm/i915/skl: Implement Wa4x4STCOptimizationDisable:skl
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 26 Mar 2014 17:42:50 +0000 (17:42 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Sep 2014 12:57:29 +0000 (14:57 +0200)
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c

index 81465e65e87656b0192c5d44b1539460a40da8b5..64eb3b82b4669b70d0a21e226de63072d473a6e7 100644 (file)
@@ -76,6 +76,10 @@ static void gen9_init_clock_gating(struct drm_device *dev)
         */
        I915_WRITE(GEN8_UCGCTL6, I915_READ(GEN8_UCGCTL6) |
                   GEN8_SDEUNIT_CLOCK_GATE_DISABLE);
+
+       /* Wa4x4STCOptimizationDisable:skl */
+       I915_WRITE(CACHE_MODE_1,
+                  _MASKED_BIT_ENABLE(GEN8_4x4_STC_OPTIMIZATION_DISABLE));
 }
 
 static void i8xx_disable_fbc(struct drm_device *dev)