Leave the AGP_BASE code in. It is pointless to bump the interface
authorJon Smirl <jonsmirl@gmail.com>
Fri, 29 Jul 2005 16:53:02 +0000 (16:53 +0000)
committerJon Smirl <jonsmirl@gmail.com>
Fri, 29 Jul 2005 16:53:02 +0000 (16:53 +0000)
for X on a miniglx fix. It can be removed later.

src/mesa/drivers/dri/radeon/server/radeon_dri.c

index d5faff847ef4075be1a0b0e6d1dc2260e0cce124..78ae30beb22cc37896440b567d5c8f64b1ce38a5 100644 (file)
@@ -415,6 +415,10 @@ static int RADEONDRIAgpInit( const DRIDriverContext *ctx, RADEONInfoPtr info)
           "[gart] AGP texture map handle = 0x%08lx\n",
           info->gartTexHandle);
 
+   /* Initialize Radeon's AGP registers */
+   /* Ring buffer is at AGP offset 0 */
+   OUTREG(RADEON_AGP_BASE, info->ringHandle);
+
    return 1;
 }