From 7c29c3d01ec348f411fafae372766fadff89c568 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 28 Nov 2018 15:29:38 -0800 Subject: [PATCH] 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... --- src/gallium/drivers/iris/iris_bufmgr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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