projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fae7043
)
drm/i915: Don't return error in evict_everything when we get to the end.
author
Owain Ainsworth
<zerooa@googlemail.com>
Sun, 7 Dec 2008 04:42:20 +0000
(20:42 -0800)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 9 Dec 2008 05:37:17 +0000
(15:37 +1000)
Returning -ENOMEM errored all the way out of execbuf, so the rendering never
occurred.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_gem.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem.c
b/drivers/gpu/drm/i915/i915_gem.c
index 3fde82be014f3a4b2e4046826b076d7540e17afc..ad672d8548289b8e7a934123d2ff4878f272b6e0 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gem.c
+++ b/
drivers/gpu/drm/i915/i915_gem.c
@@
-1104,6
+1104,8
@@
i915_gem_evict_everything(struct drm_device *dev)
if (ret != 0)
break;
}
+ if (ret == -ENOMEM)
+ return 0;
return ret;
}