anv: Reduce the minimum number of relocations
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 28 Oct 2019 16:17:06 +0000 (11:17 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Tue, 29 Oct 2019 20:27:52 +0000 (20:27 +0000)
commit52aa7f3e0509a1e6cf42c37c0c83730484633194
treee3ea57b86fe3ebb1346e8e7b2435112e4101d538
parenta3153162a9b9a96b2f3b03b5016370366de203f0
anv: Reduce the minimum number of relocations

The original value of 256 was under the assumption that you're a batch
buffer which is likely going to have a large number of relocations.
However, pipeline objects on Gen7 will have at most 6 relocations (one
per shader stage and one for the workaround BO) so this is a lot of
per-pipeline wasted space.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_batch_chain.c