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

Commit 50ed5fbd authored by Ben Widawsky's avatar Ben Widawsky Committed by Daniel Vetter
Browse files

drm/i915/bdw: Implement WaSwitchSolVfFArbitrationPriority



GEN8 also needs this workaround.

Signed-off-by: default avatarBen Widawsky <ben@bwidawsk.net>
[danvet: Add a generic comment that we need to recheck all these w/a.]
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 6bbfa1c5
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -5188,6 +5188,12 @@ static void gen8_init_clock_gating(struct drm_device *dev)
	I915_WRITE(WM3_LP_ILK, 0);
	I915_WRITE(WM2_LP_ILK, 0);
	I915_WRITE(WM1_LP_ILK, 0);

	/* FIXME(BDW): Check all the w/a, some might only apply to
	 * pre-production hw. */

	/* WaSwitchSolVfFArbitrationPriority */
	I915_WRITE(GAM_ECOCHK, I915_READ(GAM_ECOCHK) | HSW_ECOCHK_ARB_PRIO_SOL);
}

static void haswell_init_clock_gating(struct drm_device *dev)