summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Smirl <[email protected]>2005-07-29 16:53:02 +0000
committerJon Smirl <[email protected]>2005-07-29 16:53:02 +0000
commit4508bcc72c96d468ea121f75e33500a9359a786e (patch)
tree82c7d9cf3f904c419b0ce09485cde2b0e6990704
parenta7d4bfed8a80fb42ef104a6c9fde68e20526693c (diff)
Leave the AGP_BASE code in. It is pointless to bump the interface
for X on a miniglx fix. It can be removed later.
-rw-r--r--src/mesa/drivers/dri/radeon/server/radeon_dri.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/server/radeon_dri.c b/src/mesa/drivers/dri/radeon/server/radeon_dri.c
index d5faff847ef..78ae30beb22 100644
--- a/src/mesa/drivers/dri/radeon/server/radeon_dri.c
+++ b/src/mesa/drivers/dri/radeon/server/radeon_dri.c
@@ -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;
}