gv100/ir: fix OP_TXG for shadow textures
[mesa.git] / src / gallium / drivers / nouveau / nouveau_mm.h
index 23e50d4ae54eeb6e199e8f8522b3e61ef26d6e19..8e4f1e5713f20b4871a5d47fb342bd1d29f53450 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef __NOUVEAU_MM_H__
 #define __NOUVEAU_MM_H__
 
+union nouveau_bo_config;
 struct nouveau_mman;
 
 /* Since a resource can be migrated, we need to decouple allocations from
@@ -14,7 +15,7 @@ struct nouveau_mm_allocation {
 
 extern struct nouveau_mman *
 nouveau_mm_create(struct nouveau_device *, uint32_t domain,
-                  uint32_t storage_type);
+                  union nouveau_bo_config *);
 
 extern void
 nouveau_mm_destroy(struct nouveau_mman *);
@@ -26,4 +27,7 @@ nouveau_mm_allocate(struct nouveau_mman *, uint32_t size,
 extern void
 nouveau_mm_free(struct nouveau_mm_allocation *);
 
+extern void
+nouveau_mm_free_work(void *);
+
 #endif // __NOUVEAU_MM_H__