<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [snb] GTT mapping fails after GPU hang"
href="https://bugs.freedesktop.org/show_bug.cgi?id=63921#c30">Comment # 30</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [snb] GTT mapping fails after GPU hang"
href="https://bugs.freedesktop.org/show_bug.cgi?id=63921">bug 63921</a>
from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>