aboutsummaryrefslogtreecommitdiff
path: root/linux-core/xgi_drv.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-08-06 17:27:15 -0700
committerIan Romanick <idr@us.ibm.com>2007-08-06 17:27:15 -0700
commitf7ba02b7458823627097a2320bf9befa84fc9c76 (patch)
treebc04994f289611ed53737b37b9391b6b4ea36dae /linux-core/xgi_drv.h
parent6718198897ef9e275506d3fcb497641e1b09d3b1 (diff)
Unify infrastructure for freeing on-card / GART memory.
Diffstat (limited to 'linux-core/xgi_drv.h')
-rw-r--r--linux-core/xgi_drv.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/linux-core/xgi_drv.h b/linux-core/xgi_drv.h
index 79276b70..a7740ceb 100644
--- a/linux-core/xgi_drv.h
+++ b/linux-core/xgi_drv.h
@@ -38,7 +38,7 @@
#define DRIVER_MAJOR 0
#define DRIVER_MINOR 10
-#define DRIVER_PATCHLEVEL 4
+#define DRIVER_PATCHLEVEL 5
#include "xgi_cmdlist.h"
#include "xgi_drm.h"
@@ -89,8 +89,6 @@ struct xgi_info {
};
extern struct kmem_cache *xgi_mem_block_cache;
-extern int xgi_mem_free(struct xgi_mem_heap * heap, unsigned long offset,
- struct drm_file * filp);
extern int xgi_mem_heap_init(struct xgi_mem_heap * heap, unsigned int start,
unsigned int end);
extern void xgi_mem_heap_cleanup(struct xgi_mem_heap * heap);
@@ -100,15 +98,12 @@ extern int xgi_fb_heap_init(struct xgi_info * info);
extern int xgi_alloc(struct xgi_info * info, struct xgi_mem_alloc * alloc,
struct drm_file * filp);
-extern int xgi_fb_free(struct xgi_info * info, unsigned long offset,
+extern int xgi_free(struct xgi_info * info, unsigned long index,
struct drm_file * filp);
extern int xgi_pcie_heap_init(struct xgi_info * info);
extern void xgi_pcie_lut_cleanup(struct xgi_info * info);
-extern int xgi_pcie_free(struct xgi_info * info, unsigned long offset,
- struct drm_file * filp);
-
extern void *xgi_find_pcie_virt(struct xgi_info * info, u32 address);
extern void xgi_free_all(struct xgi_info *, struct xgi_mem_heap *,