summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvc0/nvc0_screen.h
diff options
context:
space:
mode:
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>2011-01-09 21:50:06 +0100
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>2011-01-09 21:50:06 +0100
commitb3d8e1fb3bd9b6e5d7a9fc1e710a12547893c487 (patch)
treedf7be39198b88e7f4e2187fd20ea52b202ed6f3b /src/gallium/drivers/nvc0/nvc0_screen.h
parente59fa4c46c8857f2e04447777dd197464c95b2cb (diff)
nvc0: implement queries
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_screen.h')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_screen.h7
1 files changed, 7 insertions, 0 deletions
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);