video: tegra: nvmap: support for carveout resize
[linux-3.10.git] / drivers / video / tegra / nvmap / nvmap_heap.h
index 5e73897..29c27bb 100644 (file)
@@ -32,8 +32,9 @@ struct nvmap_heap_block {
        struct nvmap_handle *handle;
 };
 
-struct nvmap_heap *nvmap_heap_create(struct device *parent, const char *name,
-                               phys_addr_t base, size_t len, void *arg);
+struct nvmap_heap *nvmap_heap_create(struct device *parent,
+                                    const struct nvmap_platform_carveout *co,
+                                    phys_addr_t base, size_t len, void *arg);
 
 void nvmap_heap_destroy(struct nvmap_heap *heap);
 
@@ -55,4 +56,6 @@ void nvmap_heap_deinit(void);
 int nvmap_flush_heap_block(struct nvmap_client *client,
        struct nvmap_heap_block *block, size_t len, unsigned int prot);
 
+void nvmap_heap_debugfs_init(struct dentry *heap_root, struct nvmap_heap *heap);
+
 #endif