projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d7773a
)
drm/i915: check for -EINVAL from vm_insert_pfn
author
Jesse Barnes
<jbarnes@virtuousgeek.org>
Fri, 20 Mar 2009 21:16:33 +0000
(14:16 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 1 Apr 2009 18:07:49 +0000
(11:07 -0700)
Indicates something is wrong with the mapping; and apparently triggers
in current kernels.
Signed-off-by: Jesse Barnes <jbarnes@virtuosugeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_gem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem.c
b/drivers/gpu/drm/i915/i915_gem.c
index 0abccb76112126a78e59b9fe212fd5fe15eaf46f..9f4eceb8093d90719f4628e59af94b3df5cabefc 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gem.c
+++ b/
drivers/gpu/drm/i915/i915_gem.c
@@
-1072,6
+1072,7
@@
int i915_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
case -EAGAIN:
return VM_FAULT_OOM;
case -EFAULT:
+ case -EINVAL:
return VM_FAULT_SIGBUS;
default:
return VM_FAULT_NOPAGE;