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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 26 05:02:26 PDT 2013


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

--- Comment #33 from Nicolas Hillegeer <nicolashillegeer at gmail.com> ---
(In reply to comment #30)
> 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.

I used all the EIO suppressions you gave me (6 in total) and the result was the
same as with all the other patches (your first patch and Ben's patch): the
system completely locks up and I can't even ssh in.

Unfortunately I don't find anything in the logs after reboot (dmesg.0,
Xorg.0.old and my app log).

-- 
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/7d249dc8/attachment.html>


More information about the intel-gfx-bugs mailing list