projects
/
kernel
/
kernel-generic.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
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem.c
b/drivers/gpu/drm/i915/i915_gem.c
index
3fde82b
..
ad672d8
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;
}