diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2008-05-27 21:46:36 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-06-18 21:27:39 -0400 |
commit | d7463eb41d88a39de2653fd41857c4ccddb8707b (patch) | |
tree | f19c23767fd5dbbacc1ea60adebe074fb90e20a3 /drivers/char/drm | |
parent | 45e519052e8f583a709edd442a23f59581d3fe42 (diff) |
drm/radeon: write AGP_BASE_2 on chips that support it.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/char/drm')
-rw-r--r-- | drivers/char/drm/radeon_cp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/drm/radeon_cp.c b/drivers/char/drm/radeon_cp.c index 3a424986e85e..fc0820c2b4b4 100644 --- a/drivers/char/drm/radeon_cp.c +++ b/drivers/char/drm/radeon_cp.c | |||
@@ -472,6 +472,8 @@ static void radeon_cp_init_ring_buffer(struct drm_device * dev, | |||
472 | #if __OS_HAS_AGP | 472 | #if __OS_HAS_AGP |
473 | if (dev_priv->flags & RADEON_IS_AGP) { | 473 | if (dev_priv->flags & RADEON_IS_AGP) { |
474 | RADEON_WRITE(RADEON_AGP_BASE, (unsigned int)dev->agp->base); | 474 | RADEON_WRITE(RADEON_AGP_BASE, (unsigned int)dev->agp->base); |
475 | if ((dev_priv->flags & RADEON_FAMILY_MASK) >= CHIP_R200) | ||
476 | RADEON_WRITE(RADEON_AGP_BASE_2, 0); | ||
475 | radeon_write_agp_location(dev_priv, | 477 | radeon_write_agp_location(dev_priv, |
476 | (((dev_priv->gart_vm_start - 1 + | 478 | (((dev_priv->gart_vm_start - 1 + |
477 | dev_priv->gart_size) & 0xffff0000) | | 479 | dev_priv->gart_size) & 0xffff0000) | |