<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - i915_gem.c:1888 i915_gem_fault+0x238/0x460 [i915_bpo]()"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95076#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - i915_gem.c:1888 i915_gem_fault+0x238/0x460 [i915_bpo]()"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95076">bug 95076</a>
from <span class="vcard"><a class="email" href="mailto:hector.yuen@gmail.com" title="Hector Yuen <hector.yuen@gmail.com>"> <span class="fn">Hector Yuen</span></a>
</span></b>
<pre>Here is a proposed fix from:
<a href="https://lists.freedesktop.org/archives/intel-gfx/2015-September/075420.html">https://lists.freedesktop.org/archives/intel-gfx/2015-September/075420.html</a>
Testcase: igt/gem_mmap_gtt/big-bo-tiledXY
Reported-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
Signed-off-by: Michel Thierry <michel.thierry at intel.com>
---
drivers/gpu/drm/i915/i915_gem.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 352ccd5..3e00f72 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -1869,6 +1869,7 @@ out:
*/
ret = VM_FAULT_NOPAGE;
break;
+ case -E2BIG:
case -ENOMEM:
ret = VM_FAULT_OOM;
break;
--
2.5.1</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are on the CC list for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>