Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit acd5c346 authored by Damien Lespiau's avatar Damien Lespiau Committed by Daniel Vetter
Browse files

drm/i915/skl: Implement WaDisableSDEUnitClockGating:skl

parent e7e7ea20
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -68,6 +68,14 @@

static void gen9_init_clock_gating(struct drm_device *dev)
{
	struct drm_i915_private *dev_priv = dev->dev_private;

	/*
	 * WaDisableSDEUnitClockGating:skl
	 * This seems to be a pre-production w/a.
	 */
	I915_WRITE(GEN8_UCGCTL6, I915_READ(GEN8_UCGCTL6) |
		   GEN8_SDEUNIT_CLOCK_GATE_DISABLE);
}

static void i8xx_disable_fbc(struct drm_device *dev)