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

Commit bdfcdb63 authored by Daniel Vetter's avatar Daniel Vetter Committed by Keith Packard
Browse files

drm/i915: rip out the HWSTAM missed irq workaround



With the new ducttape of much finer quality, this seems to be no
longer necessary.

Tested on my ivb and snb machine with the usual suspects of testcases.

(v2 by keithp -- limited change to IVB only for now)

Signed-Off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: default avatarBen Widawsky <ben@bwidawsk.net>
Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent 4cd53c0c
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1751,7 +1751,8 @@ static void ironlake_irq_preinstall(struct drm_device *dev)
		INIT_WORK(&dev_priv->rps_work, gen6_pm_rps_work);
		INIT_WORK(&dev_priv->rps_work, gen6_pm_rps_work);


	I915_WRITE(HWSTAM, 0xeffe);
	I915_WRITE(HWSTAM, 0xeffe);
	if (IS_GEN6(dev) || IS_GEN7(dev)) {

	if (IS_GEN6(dev)) {
		/* Workaround stalls observed on Sandy Bridge GPUs by
		/* Workaround stalls observed on Sandy Bridge GPUs by
		 * making the blitter command streamer generate a
		 * making the blitter command streamer generate a
		 * write to the Hardware Status Page for
		 * write to the Hardware Status Page for