2010-07-29 23:46:31 +00:00
|
|
|
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
|
2010-11-30 02:07:53 +00:00
|
|
|
index 37427e4..08af9db 100644
|
2010-07-29 23:46:31 +00:00
|
|
|
--- a/drivers/gpu/drm/i915/i915_gem.c
|
|
|
|
+++ b/drivers/gpu/drm/i915/i915_gem.c
|
2010-11-30 02:07:53 +00:00
|
|
|
@@ -2553,6 +2553,11 @@ i915_gem_execbuffer(struct drm_device *dev, void *data,
|
|
|
|
|
|
|
|
mutex_lock(&dev->struct_mutex);
|
2010-07-29 23:46:31 +00:00
|
|
|
|
|
|
|
+ /* We don't get the flushing right for these chipsets, use the
|
2010-11-30 02:07:53 +00:00
|
|
|
+ * big hamer for now to avoid random crashiness. */
|
2010-07-29 23:46:31 +00:00
|
|
|
+ if (IS_I85X(dev) || IS_I865G(dev))
|
|
|
|
+ wbinvd();
|
|
|
|
+
|
2010-11-30 02:07:53 +00:00
|
|
|
i915_verify_inactive(dev, __FILE__, __LINE__);
|
|
|
|
|
|
|
|
if (dev_priv->mm.wedged) {
|