]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
drm/rs690: set base 2 to 0.
authorDave Airlie <airlied@linux.ie>
Wed, 28 May 2008 01:28:27 +0000 (11:28 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 19 Jun 2008 01:27:39 +0000 (11:27 +1000)
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/char/drm/radeon_cp.c
drivers/char/drm/radeon_drv.h

index 1e434ba155647d4f05d3d807aa33a94324c21933..6e13f4bec917f38d5aa8f422f108d19a292bc3e5 100644 (file)
@@ -669,6 +669,8 @@ static void radeon_set_rs690gart(drm_radeon_private_t *dev_priv, int on)
                RS690_WRITE_MCIND(RS690_MC_AGP_BASE,
                                  (unsigned int)dev_priv->gart_vm_start);
 
+               RS690_WRITE_MCIND(RS690_MC_AGP_BASE_2, 0);
+
                dev_priv->gart_size = 32*1024*1024;
                temp = (((dev_priv->gart_vm_start - 1 + dev_priv->gart_size) &
                         0xffff0000) | (dev_priv->gart_vm_start >> 16));
index 173ae620223a052238a0a212711e25290bff4f0c..b22816b57659fba4767f2660d51dda172c80cb8c 100644 (file)
@@ -497,6 +497,7 @@ extern int r300_do_cp_cmdbuf(struct drm_device * dev,
 #define RS690_MC_FB_LOCATION            0x100
 #define RS690_MC_AGP_LOCATION           0x101
 #define RS690_MC_AGP_BASE               0x102
+#define RS690_MC_AGP_BASE_2             0x103
 
 #define R520_MC_IND_INDEX 0x70
 #define R520_MC_IND_WR_EN (1<<24)