zink: avoid caching visible vram allocations
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 6 May 2021 13:52:08 +0000 (09:52 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 17 Jun 2021 01:07:35 +0000 (01:07 +0000)
commitc56a10049419401f3b28dc74d18bf6ecb82081b2
treefffa231811cb8889f6065cb58e977a7523ca75ac
parent18b71c0da33c31fdb2b104b27e8a7b169ce3a0bb
zink: avoid caching visible vram allocations

the visible vram heap is potentially going to be limited in size, so avoid
caching these allocations since that locks them to a given allocation size

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11397>
src/gallium/drivers/zink/zink_resource.c