aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-01-08 17:25:16 -0500
committerEric Anholt <eric@anholt.net>2010-02-26 16:23:20 -0500
commitb9201c14d9c22fb3b3f313f69ee4f967353ca960 (patch)
treeb3992b23e9f822cf5985530a696d0ae3ab0fe307 /drivers/gpu/drm/i915
parenta13e4093cbd3db91cc65ac8b8c2baadffa603ee9 (diff)
drm/i915: Disable the hangcheck reset on Sandybridge until we add support.
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r--drivers/gpu/drm/i915/i915_irq.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index ef79d9423f0a..f93f822fa72c 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -1239,7 +1239,11 @@ void i915_hangcheck_elapsed(unsigned long data)
1239 struct drm_device *dev = (struct drm_device *)data; 1239 struct drm_device *dev = (struct drm_device *)data;
1240 drm_i915_private_t *dev_priv = dev->dev_private; 1240 drm_i915_private_t *dev_priv = dev->dev_private;
1241 uint32_t acthd; 1241 uint32_t acthd;
1242 1242
1243 /* No reset support on this chip yet. */
1244 if (IS_GEN6(dev))
1245 return;
1246
1243 if (!IS_I965G(dev)) 1247 if (!IS_I965G(dev))
1244 acthd = I915_READ(ACTHD); 1248 acthd = I915_READ(ACTHD);
1245 else 1249 else