summaryrefslogtreecommitdiff
path: root/shared-core/r128_drv.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-03-04 18:13:34 +1100
committerDave Airlie <airlied@linux.ie>2007-03-04 18:16:29 +1100
commitc9178c3d01f6f38a33f9624c620d290cb9036964 (patch)
tree115ff3c53b8ab88f6eae0523e2674a1101bc82b2 /shared-core/r128_drv.h
parent72caa48c82e4334d3292185dbadf758d2dd14c16 (diff)
ati: make pcigart code able to handle variable size PCI GART aperture
This code doesn't enable a variable aperture it just modifies the codebase to allow me fix it up later
Diffstat (limited to 'shared-core/r128_drv.h')
-rw-r--r--shared-core/r128_drv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-core/r128_drv.h b/shared-core/r128_drv.h
index f1efb49d..90868356 100644
--- a/shared-core/r128_drv.h
+++ b/shared-core/r128_drv.h
@@ -383,6 +383,8 @@ extern long r128_compat_ioctl(struct file *filp, unsigned int cmd,
#define R128_PERFORMANCE_BOXES 0
+#define R128_PCIGART_TABLE_SIZE 32768
+
#define R128_READ(reg) DRM_READ32( dev_priv->mmio, (reg) )
#define R128_WRITE(reg,val) DRM_WRITE32( dev_priv->mmio, (reg), (val) )
#define R128_READ8(reg) DRM_READ8( dev_priv->mmio, (reg) )