diff options
author | Dave Airlie <airliedfreedesktop.org> | 2004-12-09 00:18:59 +0000 |
---|---|---|
committer | Dave Airlie <airliedfreedesktop.org> | 2004-12-09 00:18:59 +0000 |
commit | b2ad61fd40bd5a689ec6cd3ce21886f20decd30b (patch) | |
tree | d3eaaa3cdd52e2207f90dc981a8ba69277224ecd /src/mesa/drivers/dri | |
parent | b31b7836d6e7abf80dd4feacce333d4b1fe6e4ab (diff) |
fixup pci code for Jon's last checkin for changing page size
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/radeon/server/radeon_dri.c | 4 |
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 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; |