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...
This commit is contained in:
Kenneth Graunke 2018-11-28 15:29:38 -08:00
parent 6cb211121b
commit 7c29c3d01e

View file

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