summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorAlex Deucher <alex@cube.(none)>2008-05-12 09:21:45 -0400
committerAlex Deucher <alex@cube.(none)>2008-05-12 09:21:45 -0400
commitd26af273f8558c8ee6eca1914b35bfd174129da7 (patch)
tree7957a61cf0a02cfd6aaa23db1ed368bc9b032d8d /shared-core
parentc307e50724c8d0d88b9ac1788de02b8478261967 (diff)
RADEON: write AGP_BASE_2 on chips that support it
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/radeon_cp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-core/radeon_cp.c b/shared-core/radeon_cp.c
index f4e1c9b8..da15a4b8 100644
--- a/shared-core/radeon_cp.c
+++ b/shared-core/radeon_cp.c
@@ -16534,6 +16534,8 @@ static void radeon_cp_init_ring_buffer(struct drm_device * dev,
#if __OS_HAS_AGP
if (dev_priv->flags & RADEON_IS_AGP) {
RADEON_WRITE(RADEON_AGP_BASE, (unsigned int)dev->agp->base);
+ if ((dev_priv->flags & RADEON_FAMILY_MASK) >= CHIP_R200)
+ RADEON_WRITE(RADEON_AGP_BASE_2, 0);
radeon_write_agp_location(dev_priv,
(((dev_priv->gart_vm_start - 1 +
dev_priv->gart_size) & 0xffff0000) |