summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_screen.h
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2011-01-04 01:14:00 +0100
committerChristoph Bumiller <[email protected]>2011-01-04 16:14:46 +0100
commit6de94e1012498b6859d9796f2836a162bb0ca4bc (patch)
treead57341116996f0f4d83364c4f1e268a6c346014 /src/gallium/drivers/nvc0/nvc0_screen.h
parent471025929c893d223668814ad0f8e2bee76aac63 (diff)
nvc0: delete memory caches and fence on screen destruction
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_screen.h')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_screen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_screen.h b/src/gallium/drivers/nvc0/nvc0_screen.h
index efa5ff63f16..5c6482be96b 100644
--- a/src/gallium/drivers/nvc0/nvc0_screen.h
+++ b/src/gallium/drivers/nvc0/nvc0_screen.h
@@ -89,6 +89,9 @@ struct nvc0_mm_allocation {
extern struct nvc0_mman *
nvc0_mm_create(struct nouveau_device *, uint32_t domain, uint32_t storage_type);
+extern void
+nvc0_mm_destroy(struct nvc0_mman *);
+
extern struct nvc0_mm_allocation *
nvc0_mm_allocate(struct nvc0_mman *,
uint32_t size, struct nouveau_bo **, uint32_t *offset);