diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-06-21 18:37:59 +0100 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-06-21 10:57:23 -0700 |
commit | ec6a890dfed7dd245beba5e5bcdfcffbd934c284 (patch) | |
tree | 4a05158ed9849f02f0979f871c69d6d97a537b72 /drivers/gpu/drm/i915/i915_irq.c | |
parent | efc2924e733631a64c0afed8dbba2741d186998c (diff) | |
download | linux-ec6a890dfed7dd245beba5e5bcdfcffbd934c284.tar.gz linux-ec6a890dfed7dd245beba5e5bcdfcffbd934c284.tar.bz2 linux-ec6a890dfed7dd245beba5e5bcdfcffbd934c284.zip |
drm/i915: Apply HWSTAM workaround for BSD ring on SandyBridge
...we need to apply exactly the same workaround for missing interrupts
from BSD as for the BLT ring, apparently.
See also commit 498e720b96379d8ee9c294950a01534a73defcf3
(drm/i915: Fix gen6 (SNB) missed BLT ring interrupts).
Reported-and-tested-by: nkalkhof@web.de
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38529
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_irq.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_irq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c index 9e34a1abeb61..ae2b49969b99 100644 --- a/drivers/gpu/drm/i915/i915_irq.c +++ b/drivers/gpu/drm/i915/i915_irq.c @@ -1749,6 +1749,7 @@ void ironlake_irq_preinstall(struct drm_device *dev) * happens. */ I915_WRITE(GEN6_BLITTER_HWSTAM, ~GEN6_BLITTER_USER_INTERRUPT); + I915_WRITE(GEN6_BSD_HWSTAM, ~GEN6_BSD_USER_INTERRUPT); } /* XXX hotplug from PCH */ |