projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dcaf0c
)
catch an out of memory condition
author
Alan Hourihane
<alanh@tungstengraphics.com>
Thu, 13 Dec 2007 10:40:36 +0000
(10:40 +0000)
committer
Alan Hourihane
<alanh@tungstengraphics.com>
Thu, 13 Dec 2007 10:40:36 +0000
(10:40 +0000)
linux-core/drm_bo.c
patch
|
blob
|
history
diff --git
a/linux-core/drm_bo.c
b/linux-core/drm_bo.c
index
2b8ef1b
..
d308dcf
100644
(file)
--- a/
linux-core/drm_bo.c
+++ b/
linux-core/drm_bo.c
@@
-925,7
+925,7
@@
int drm_bo_mem_space(struct drm_buffer_object *bo,
ret = drm_bo_mem_force_space(dev, mem, mem_type, no_wait);
- if (ret == 0) {
+ if (ret == 0
&& mem->mm_node
) {
mem->flags = cur_flags;
return 0;
}