mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 09:48:07 +02:00
vmware/core: Put GMR pool size in a define.
This commit is contained in:
parent
e45579e50b
commit
beb8e8f2f2
2 changed files with 5 additions and 1 deletions
|
|
@ -40,6 +40,10 @@
|
|||
|
||||
#include "svga_winsys.h"
|
||||
|
||||
|
||||
#define VMW_GMR_POOL_SIZE (16*1024*1024)
|
||||
|
||||
|
||||
struct pb_manager;
|
||||
struct vmw_region;
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ vmw_pools_init(struct vmw_winsys_screen *vws)
|
|||
goto error;
|
||||
|
||||
vws->pools.gmr_mm = mm_bufmgr_create(vws->pools.gmr,
|
||||
16*1024*1024,
|
||||
VMW_GMR_POOL_SIZE,
|
||||
12 /* 4096 alignment */);
|
||||
if(!vws->pools.gmr_mm)
|
||||
goto error;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue