summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-09-11 08:51:38 +0000
committerDave Airlie <airlied@linux.ie>2005-09-11 08:51:38 +0000
commitfd62082b68ac3aadd8ffc441352d75d88334904e (patch)
treeed8b6494a2c88bfa7e6b6f8912c2ed5d21df12bd /src/radeon.h
parentcb63f8d9c0563fb0eff28e2be6d4adf5666540d2 (diff)
Add support for allocating PCI GART table in framebuffer memory. This is
needed to support PCIE Radeons using a new DRM.
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 814db80a..b1060cdc 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -543,6 +543,9 @@ typedef struct {
CARD32 backPitchOffset;
CARD32 depthPitchOffset;
+ int pciGartSize;
+ CARD32 pciGartOffset;
+
/* offscreen memory management */
int backLines;
FBAreaPtr backArea;
@@ -709,6 +712,7 @@ extern Bool RADEONDRIScreenInit(ScreenPtr pScreen);
extern void RADEONDRICloseScreen(ScreenPtr pScreen);
extern void RADEONDRIResume(ScreenPtr pScreen);
extern Bool RADEONDRIFinishScreenInit(ScreenPtr pScreen);
+extern void RADEONDRIAllocatePCIGARTTable(ScreenPtr pScreen);
extern drmBufPtr RADEONCPGetBuffer(ScrnInfoPtr pScrn);
extern void RADEONCPFlushIndirect(ScrnInfoPtr pScrn, int discard);