We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f48802 + 498e720 commit a6c0a39Copy full SHA for a6c0a39
drivers/gpu/drm/i915/i915_irq.c
@@ -1740,6 +1740,16 @@ void ironlake_irq_preinstall(struct drm_device *dev)
1740
INIT_WORK(&dev_priv->rps_work, gen6_pm_rps_work);
1741
1742
I915_WRITE(HWSTAM, 0xeffe);
1743
+ if (IS_GEN6(dev)) {
1744
+ /* Workaround stalls observed on Sandy Bridge GPUs by
1745
+ * making the blitter command streamer generate a
1746
+ * write to the Hardware Status Page for
1747
+ * MI_USER_INTERRUPT. This appears to serialize the
1748
+ * previous seqno write out before the interrupt
1749
+ * happens.
1750
+ */
1751
+ I915_WRITE(GEN6_BLITTER_HWSTAM, ~GEN6_BLITTER_USER_INTERRUPT);
1752
+ }
1753
1754
/* XXX hotplug from PCH */
1755
0 commit comments