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_screen.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/gallium/drivers/nvc0/nvc0_screen.h') diff --git a/src/gallium/drivers/nvc0/nvc0_screen.h b/src/gallium/drivers/nvc0/nvc0_screen.h index 5c6482be96..1fac142e2b 100644 --- a/src/gallium/drivers/nvc0/nvc0_screen.h +++ b/src/gallium/drivers/nvc0/nvc0_screen.h @@ -86,6 +86,13 @@ struct nvc0_mm_allocation { uint32_t offset; }; +static INLINE void +nvc0_fence_sched_release(struct nvc0_fence *nf, struct nvc0_mm_allocation *mm) +{ + mm->next = nf->buffers; + nf->buffers = mm; +} + extern struct nvc0_mman * nvc0_mm_create(struct nouveau_device *, uint32_t domain, uint32_t storage_type); -- cgit v1.2.3