projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12be156
)
pb: fix numDelayed accounting
author
Dave Airlie
<airlied@redhat.com>
Tue, 5 Oct 2010 09:08:41 +0000
(19:08 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 5 Oct 2010 09:08:41 +0000
(19:08 +1000)
we weren't decreasing when removing from the list.
src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c
b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c
index
52e626c
..
a6eb403
100644
(file)
--- a/
src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c
+++ b/
src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c
@@
-307,6
+307,7
@@
pb_cache_manager_create_buffer(struct pb_manager *_mgr,
if(buf) {
LIST_DEL(&buf->head);
+ --mgr->numDelayed;
pipe_mutex_unlock(mgr->mutex);
/* Increase refcount */
pipe_reference_init(&buf->base.base.reference, 1);