summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_buffer.c
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2011-01-09 21:50:06 +0100
committerChristoph Bumiller <[email protected]>2011-01-09 21:50:06 +0100
commitb3d8e1fb3bd9b6e5d7a9fc1e710a12547893c487 (patch)
treedf7be39198b88e7f4e2187fd20ea52b202ed6f3b /src/gallium/drivers/nvc0/nvc0_buffer.c
parente59fa4c46c8857f2e04447777dd197464c95b2cb (diff)
nvc0: implement queries
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_buffer.c')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_buffer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_buffer.c b/src/gallium/drivers/nvc0/nvc0_buffer.c
index 06841bb19b8..f5ac6557fe9 100644
--- a/src/gallium/drivers/nvc0/nvc0_buffer.c
+++ b/src/gallium/drivers/nvc0/nvc0_buffer.c
@@ -52,8 +52,7 @@ static INLINE void
release_allocation(struct nvc0_mm_allocation **mm, struct nvc0_fence *fence)
{
if (fence && fence->state != NVC0_FENCE_STATE_SIGNALLED) {
- (*mm)->next = fence->buffers;
- fence->buffers = (*mm);
+ nvc0_fence_sched_release(fence, *mm);
} else {
nvc0_mm_free(*mm);
}