vmware/core: Put GMR pool size in a define.

This commit is contained in:
José Fonseca 2010-01-21 15:47:52 -08:00
parent e45579e50b
commit beb8e8f2f2
2 changed files with 5 additions and 1 deletions

View File

@ -40,6 +40,10 @@
#include "svga_winsys.h"
#define VMW_GMR_POOL_SIZE (16*1024*1024)
struct pb_manager;
struct vmw_region;

View File

@ -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;