mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-27 09:50:20 +01:00
radeon: maxbuffer size is in bytes
This commit is contained in:
parent
a13e96359b
commit
d7cc0eb479
1 changed files with 2 additions and 2 deletions
|
|
@ -164,7 +164,7 @@ void rcommon_emit_vector(GLcontext * ctx, struct radeon_aos *aos,
|
|||
void radeonRefillCurrentDmaRegion(radeonContextPtr rmesa, int size)
|
||||
{
|
||||
|
||||
size = MAX2(size, MAX_DMA_BUF_SZ * 16);
|
||||
size = MAX2(size, MAX_DMA_BUF_SZ);
|
||||
|
||||
if (RADEON_DEBUG & (DEBUG_IOCTL | DEBUG_DMA))
|
||||
fprintf(stderr, "%s\n", __FUNCTION__);
|
||||
|
|
@ -202,7 +202,7 @@ again_alloc:
|
|||
|
||||
if (radeon_revalidate_bos(rmesa->glCtx) == GL_FALSE)
|
||||
fprintf(stderr,"failure to revalidate BOs - badness\n");
|
||||
|
||||
|
||||
radeon_bo_map(rmesa->dma.current, 1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue