vmware/core: Put GMR pool size in a define.
This commit is contained in:
parent
e45579e50b
commit
beb8e8f2f2
|
@ -40,6 +40,10 @@
|
||||||
|
|
||||||
#include "svga_winsys.h"
|
#include "svga_winsys.h"
|
||||||
|
|
||||||
|
|
||||||
|
#define VMW_GMR_POOL_SIZE (16*1024*1024)
|
||||||
|
|
||||||
|
|
||||||
struct pb_manager;
|
struct pb_manager;
|
||||||
struct vmw_region;
|
struct vmw_region;
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ vmw_pools_init(struct vmw_winsys_screen *vws)
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
vws->pools.gmr_mm = mm_bufmgr_create(vws->pools.gmr,
|
vws->pools.gmr_mm = mm_bufmgr_create(vws->pools.gmr,
|
||||||
16*1024*1024,
|
VMW_GMR_POOL_SIZE,
|
||||||
12 /* 4096 alignment */);
|
12 /* 4096 alignment */);
|
||||||
if(!vws->pools.gmr_mm)
|
if(!vws->pools.gmr_mm)
|
||||||
goto error;
|
goto error;
|
||||||
|
|
Loading…
Reference in New Issue