summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airliedfreedesktop.org>2004-12-09 00:18:59 +0000
committerDave Airlie <airliedfreedesktop.org>2004-12-09 00:18:59 +0000
commitb2ad61fd40bd5a689ec6cd3ce21886f20decd30b (patch)
treed3eaaa3cdd52e2207f90dc981a8ba69277224ecd
parentb31b7836d6e7abf80dd4feacce333d4b1fe6e4ab (diff)
fixup pci code for Jon's last checkin for changing page size
-rw-r--r--src/mesa/drivers/dri/radeon/server/radeon_dri.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/server/radeon_dri.c b/src/mesa/drivers/dri/radeon/server/radeon_dri.c
index f3c927afa0..e497221643 100644
--- a/src/mesa/drivers/dri/radeon/server/radeon_dri.c
+++ b/src/mesa/drivers/dri/radeon/server/radeon_dri.c
@@ -444,10 +444,10 @@ static int RADEONDRIPciInit(const DRIDriverContext *ctx, RADEONInfoPtr info)
/* Initialize the CP ring buffer data */
info->ringStart = info->gartOffset;
- info->ringMapSize = info->ringSize*1024*1024 + DRM_PAGE_SIZE;
+ info->ringMapSize = info->ringSize*1024*1024 + radeon_drm_page_size;
info->ringReadOffset = info->ringStart + info->ringMapSize;
- info->ringReadMapSize = DRM_PAGE_SIZE;
+ info->ringReadMapSize = radeon_drm_page_size;
/* Reserve space for vertex/indirect buffers */
info->bufStart = info->ringReadOffset + info->ringReadMapSize;