| 1 |
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
|
| 2 |
index 37427e4..08af9db 100644
|
| 3 |
--- a/drivers/gpu/drm/i915/i915_gem.c
|
| 4 |
+++ b/drivers/gpu/drm/i915/i915_gem.c
|
| 5 |
@@ -2553,6 +2553,11 @@ i915_gem_execbuffer(struct drm_device *dev, void *data,
|
| 6 |
|
| 7 |
mutex_lock(&dev->struct_mutex);
|
| 8 |
|
| 9 |
+ /* We don't get the flushing right for these chipsets, use the
|
| 10 |
+ * big hamer for now to avoid random crashiness. */
|
| 11 |
+ if (IS_I855(dev) || IS_I865G(dev))
|
| 12 |
+ wbinvd();
|
| 13 |
+
|
| 14 |
i915_verify_inactive(dev, __FILE__, __LINE__);
|
| 15 |
|
| 16 |
if (dev_priv->mm.wedged) {
|