From: Dave Airlie Date: Thu, 9 Dec 2004 00:18:59 +0000 (+0000) Subject: fixup pci code for Jon's last checkin for changing page size X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b2ad61fd40bd5a689ec6cd3ce21886f20decd30b;p=mesa.git fixup pci code for Jon's last checkin for changing page size --- diff --git a/src/mesa/drivers/dri/radeon/server/radeon_dri.c b/src/mesa/drivers/dri/radeon/server/radeon_dri.c index f3c927afa0f..e4972216437 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;