anv: emit timestamp & availability using the same part of CS
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 14 Jan 2022 08:04:48 +0000 (10:04 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 18 Mar 2022 10:02:33 +0000 (10:02 +0000)
commit4e30da7874e6586c7ac94cd34560c782d0f9678d
tree3b95a84159f43164ce6899d2bb8505982f42f454
parent730a294b9072b8807c22a59fcedec4b6ab278081
anv: emit timestamp & availability using the same part of CS

We've run into issues before where PIPE_CONTROL races MI_STORE_*
commands. So make sure we emit the availability using the same type of
CS so that memory writes are properly ordered.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14552>
src/intel/vulkan/genX_query.c