OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbcbe80
)
Remove buffer object user list check in drm_bo_destroy_unlocked
author
Jesse Barnes
<jesse.barnes@intel.com>
Tue, 25 Sep 2007 23:15:48 +0000
(16:15 -0700)
committer
Jesse Barnes
<jesse.barnes@intel.com>
Tue, 25 Sep 2007 23:15:48 +0000
(16:15 -0700)
In the case of driver allocated buffers, there won't necessarily be a user list
associated with the buffer, so don't bug out on an empty list.
linux-core/drm_bo.c
patch
|
blob
|
history
diff --git
a/linux-core/drm_bo.c
b/linux-core/drm_bo.c
index
89062f1
..
ea93ed1
100644
(file)
--- a/
linux-core/drm_bo.c
+++ b/
linux-core/drm_bo.c
@@
-417,7
+417,6
@@
static void drm_bo_destroy_locked(struct drm_buffer_object * bo)
atomic_dec(&bm->count);
- BUG_ON(!list_empty(&bo->base.list));
drm_ctl_free(bo, sizeof(*bo), DRM_MEM_BUFOBJ);
return;