anv/tests: Initialize the BO cache and device mutex
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 30 Oct 2019 16:44:12 +0000 (11:44 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 31 Oct 2019 13:46:09 +0000 (13:46 +0000)
commitcc972d72c7ad3fb8f518b8cf8163e253735b51bb
tree01d7aef89524e515afb75e0a720f003100249c52
parent9076e9f3751341063679eb227116060070549a37
anv/tests: Initialize the BO cache and device mutex

We're about to start depending on the BO cache in the state and block
pools so we need them properly initialized for the tests to work.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/tests/block_pool_grow_first.c
src/intel/vulkan/tests/block_pool_no_free.c
src/intel/vulkan/tests/state_pool.c
src/intel/vulkan/tests/state_pool_free_list_only.c
src/intel/vulkan/tests/state_pool_no_free.c
src/intel/vulkan/tests/state_pool_padding.c