anv: Allocate CPU-side memory for events
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 22 Apr 2020 17:23:24 +0000 (12:23 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 4 May 2020 14:06:27 +0000 (14:06 +0000)
commit369703774cfa304f4881e0e379eb02ed98933dde
treeea2032368da21b083ead7bf3032cab103944a8ea
parent4ac4e8e11f36cdfa18562804931be59a4fe08544
anv: Allocate CPU-side memory for events

As discrete graphics looms, we really need to stop storing CPU data
structures in GPU memory.  One of the most egregious instances of this
was VkEvent where we had a CPU data structure living inside a dynamic
state pool allocation.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4690>
src/intel/vulkan/anv_device.c