fixup pci code for Jon's last checkin for changing page size
authorDave Airlie <airliedfreedesktop.org>
Thu, 9 Dec 2004 00:18:59 +0000 (00:18 +0000)
committerDave Airlie <airliedfreedesktop.org>
Thu, 9 Dec 2004 00:18:59 +0000 (00:18 +0000)
src/mesa/drivers/dri/radeon/server/radeon_dri.c

index f3c927afa0f9dd427f861e2a5eb0a5cc0e7de4b5..e4972216437536792b8544d29befa131a6ba1edf 100644 (file)
@@ -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;