[Bug 63921] [snb] GTT mapping fails after GPU hang

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 26 03:41:49 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=63921

--- Comment #30 from Chris Wilson <chris at chris-wilson.co.uk> ---
Try adding

diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 87c62cc..2bd8d7a 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -1334,6 +1334,8 @@ int i915_gem_fault(struct vm_area_struct *vma, struct
vm_f
        bool write = !!(vmf->flags & FAULT_FLAG_WRITE);

        ret = i915_mutex_lock_interruptible(dev);
+       if (ret == -EIO)
+               ret = mutex_lock_interruptible(dev);
        if (ret)
                goto out;


as well as the other EIO suppressions.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20130426/7e12cfa7/attachment.html>


More information about the intel-gfx-bugs mailing list