Skip to content

Commit fad2596

Browse files
committed
drm/i915: rip out old HWSTAM missed irq WA for vlv
This got copy-pasted from an older version. The newer kinds of workarounds don't need this anymore. Shame on me for not noticing when picking up the vlv irq patch. Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
1 parent 25c0630 commit fad2596

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

drivers/gpu/drm/i915/i915_irq.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1998,18 +1998,6 @@ static void valleyview_irq_preinstall(struct drm_device *dev)
19981998
I915_WRITE(RING_IMR(GEN6_BSD_RING_BASE), 0);
19991999
I915_WRITE(RING_IMR(BLT_RING_BASE), 0);
20002000

2001-
if (IS_GEN6(dev) || IS_GEN7(dev)) {
2002-
/* Workaround stalls observed on Sandy Bridge GPUs by
2003-
* making the blitter command streamer generate a
2004-
* write to the Hardware Status Page for
2005-
* MI_USER_INTERRUPT. This appears to serialize the
2006-
* previous seqno write out before the interrupt
2007-
* happens.
2008-
*/
2009-
I915_WRITE(GEN6_BLITTER_HWSTAM, ~GEN6_BLITTER_USER_INTERRUPT);
2010-
I915_WRITE(GEN6_BSD_HWSTAM, ~GEN6_BSD_USER_INTERRUPT);
2011-
}
2012-
20132001
/* and GT */
20142002
I915_WRITE(GTIIR, I915_READ(GTIIR));
20152003
I915_WRITE(GTIIR, I915_READ(GTIIR));

0 commit comments

Comments
 (0)