From b3d8e1fb3bd9b6e5d7a9fc1e710a12547893c487 Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Sun, 9 Jan 2011 21:50:06 +0100 Subject: nvc0: implement queries --- src/gallium/drivers/nvc0/nvc0_buffer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gallium/drivers/nvc0/nvc0_buffer.c') diff --git a/src/gallium/drivers/nvc0/nvc0_buffer.c b/src/gallium/drivers/nvc0/nvc0_buffer.c index 06841bb19b..f5ac6557fe 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); } -- cgit v1.2.3