diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/i915_gem_execbuffer.c index 60998fc4e5b2..740f69da5079 100644 --- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c +++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c @@ -1037,6 +1037,7 @@ legacy_ringbuffer_submission(struct drm_device *dev, struct drm_file *file, { struct drm_clip_rect *cliprects = NULL; struct drm_i915_private *dev_priv = dev->dev_private; + bool was_interruptible = dev_priv->mm.interruptible; u64 exec_len; int instp_mode; u32 instp_mask; @@ -1085,6 +1086,7 @@ legacy_ringbuffer_submission(struct drm_device *dev, struct drm_file *file, } } + dev_priv->mm.interruptible = false; ret = i915_gem_execbuffer_move_to_gpu(ring, vmas); if (ret) goto error; @@ -1180,6 +1182,7 @@ legacy_ringbuffer_submission(struct drm_device *dev, struct drm_file *file, error: kfree(cliprects); + dev_priv->mm.interruptible = was_interruptible; return ret; }