summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2008-07-11 02:02:38 -0400
committerAlex Deucher <alexdeucher@gmail.com>2008-08-25 09:49:28 -0400
commit7daba77ded1c718e93ae8c372a39a6e85228d513 (patch)
tree45ae247155398deb0f3faf1e1a1443852bee283b /src/radeon.h
parent610fe1a937da78f4ac813ac919c158dde8f42442 (diff)
Convert randr, Xv to a common allocator
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 7ed39f89..6cce7365 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -1068,6 +1068,16 @@ extern void RADEONUpdateHVPosition(xf86OutputPtr output, DisplayModePtr mode);
extern void RADEONInitVideo(ScreenPtr pScreen);
extern void RADEONResetVideo(ScrnInfoPtr pScrn);
+/* radeon_memory.c */
+extern uint32_t
+radeon_allocate_memory(ScrnInfoPtr pScrn,
+ void **mem_struct,
+ int size,
+ int align);
+extern void
+radeon_free_memory(ScrnInfoPtr pScrn,
+ void *mem_struct);
+
#ifdef XF86DRI
# ifdef USE_XAA
/* radeon_accelfuncs.c */