@@ -5600,6 +5600,7 @@ enum punit_power_well {
#define GEN6_RC7 4
#define GEN7_MISCCPCTL (0x9424)
+#define GEN8_DOP_CLOCK_GATE_CFCLK_ENABLE (1<<2)
#define GEN7_DOP_CLOCK_GATE_ENABLE (1<<0)
/* IVYBRIDGE DPF */
@@ -5486,6 +5486,10 @@ static void gen8_init_clock_gating(struct drm_device *dev)
/* WaProgramL3SqcReg1Default:bdw */
I915_WRITE(GEN8_L3SQCREG1, GEN8_L3SQCREG1_DEFAULT_VALUE);
+
+ /* WaDisableFfDopClockGating:bdw */
+ I915_WRITE(GEN7_MISCCPCTL, I915_READ(GEN7_MISCCPCTL) &
+ ~GEN8_DOP_CLOCK_GATE_CFCLK_ENABLE);
}
static void haswell_init_clock_gating(struct drm_device *dev)
Disable FF DOP clock gating. Signed-off-by: Michel Thierry <michel.thierry@intel.com> --- drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/intel_pm.c | 4 ++++ 2 files changed, 5 insertions(+)