summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-03-04 19:11:34 +1100
committerDave Airlie <airlied@linux.ie>2007-03-04 19:11:34 +1100
commite1e55b533d3ae528c8da37dcb77ed906d05697fb (patch)
treef28fa482f9ff88ee0673eb27bfdc0b73fd45684e /src/radeon.h
parent4374895d393bf170134ccffc188521fe515d5a77 (diff)
radeon: add option to set pci aperture size from config file
This requires a drm > 1.26 to work
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 37ca67d9..c976b0a7 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -110,6 +110,7 @@ typedef enum {
OPTION_XV_DMA,
OPTION_FBTEX_PERCENT,
OPTION_DEPTH_BITS,
+ OPTION_PCIAPER_SIZE,
#ifdef USE_EXA
OPTION_ACCEL_DFS,
#endif
@@ -607,6 +608,7 @@ typedef struct {
#endif
Bool have3DWindows; /* Are there any 3d clients? */
+ unsigned int pciAperSize;
drmSize gartSize;
drm_handle_t agpMemHandle; /* Handle from drmAgpAlloc */
unsigned long gartOffset;
@@ -832,6 +834,7 @@ extern RADEONEntPtr RADEONEntPriv(ScrnInfoPtr pScrn);
extern void RADEONWaitForFifoFunction(ScrnInfoPtr pScrn, int entries);
extern void RADEONWaitForIdleMMIO(ScrnInfoPtr pScrn);
#ifdef XF86DRI
+extern int RADEONDRISetParam(ScrnInfoPtr pScrn, unsigned int param, int64_t value);
extern void RADEONWaitForIdleCP(ScrnInfoPtr pScrn);
#endif