diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-07-01 14:08:56 -0400 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-07-01 16:28:53 -0400 |
commit | 2b1ecb7337592a7bf0989efac46a5b52daab769e (patch) | |
tree | 4a325133db2ecc2f2e01c8f11b4850a0f11f3faf /drivers/gpu | |
parent | f71d4af4cd475aced6d9ec9730b03885ac80b833 (diff) |
drm/i915: apply HWSTAM writes to Ivy Bridge as well
In an attempt to fix 38862 and 38863.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Tested-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/i915_irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c index 226d8b296e69..3b03f85ea627 100644 --- a/drivers/gpu/drm/i915/i915_irq.c +++ b/drivers/gpu/drm/i915/i915_irq.c | |||
@@ -1740,7 +1740,7 @@ static void ironlake_irq_preinstall(struct drm_device *dev) | |||
1740 | INIT_WORK(&dev_priv->rps_work, gen6_pm_rps_work); | 1740 | INIT_WORK(&dev_priv->rps_work, gen6_pm_rps_work); |
1741 | 1741 | ||
1742 | I915_WRITE(HWSTAM, 0xeffe); | 1742 | I915_WRITE(HWSTAM, 0xeffe); |
1743 | if (IS_GEN6(dev)) { | 1743 | if (IS_GEN6(dev) || IS_GEN7(dev)) { |
1744 | /* Workaround stalls observed on Sandy Bridge GPUs by | 1744 | /* Workaround stalls observed on Sandy Bridge GPUs by |
1745 | * making the blitter command streamer generate a | 1745 | * making the blitter command streamer generate a |
1746 | * write to the Hardware Status Page for | 1746 | * write to the Hardware Status Page for |