mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 01:40:08 +01:00
fixup pci code for Jon's last checkin for changing page size
This commit is contained in:
parent
b31b7836d6
commit
b2ad61fd40
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue