From: Kenneth Graunke Date: Wed, 28 Nov 2018 23:29:38 +0000 (-0800) Subject: iris: Fix IRIS_MEMZONE_COUNT to exclude the border color pool X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c29c3d01ec348f411fafae372766fadff89c568;p=mesa.git iris: Fix IRIS_MEMZONE_COUNT to exclude the border color pool This is supposed to exclude single address zones. We were getting too many VMA allocators but failing to set them up, which worked out because we also forgot to destroy them... --- diff --git a/src/gallium/drivers/iris/iris_bufmgr.h b/src/gallium/drivers/iris/iris_bufmgr.h index e6ff85ef415..92c755c91f6 100644 --- a/src/gallium/drivers/iris/iris_bufmgr.h +++ b/src/gallium/drivers/iris/iris_bufmgr.h @@ -74,7 +74,7 @@ enum iris_memory_zone { }; /* Intentionally exclude single buffer "zones" */ -#define IRIS_MEMZONE_COUNT (IRIS_MEMZONE_OTHER + 2) +#define IRIS_MEMZONE_COUNT (IRIS_MEMZONE_OTHER + 1) #define IRIS_BINDER_SIZE (64 * 1024) #define IRIS_MAX_BINDERS 100