diff options
author | Dave Airlie <airlied@linux.ie> | 2005-09-11 08:51:38 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-09-11 08:51:38 +0000 |
commit | fd62082b68ac3aadd8ffc441352d75d88334904e (patch) | |
tree | ed8b6494a2c88bfa7e6b6f8912c2ed5d21df12bd /src/radeon.h | |
parent | cb63f8d9c0563fb0eff28e2be6d4adf5666540d2 (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.h | 4 |
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); |