[Bug 95076] i915_gem.c:1888 i915_gem_fault+0x238/0x460 [i915_bpo]()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Apr 23 07:21:56 UTC 2016


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

--- Comment #1 from Hector Yuen <hector.yuen at gmail.com> ---
Here is a proposed fix from:

https://lists.freedesktop.org/archives/intel-gfx/2015-September/075420.html



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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160423/48fdb37d/attachment.html>


More information about the intel-gfx-bugs mailing list