anv: Set CS stall bit during HIZ_CCS_WT surface fast clear
authorSagar Ghuge <sagar.ghuge@intel.com>
Tue, 16 May 2023 18:25:33 +0000 (11:25 -0700)
committerSagar Ghuge <sagar.ghuge@intel.com>
Wed, 17 May 2023 17:05:34 +0000 (10:05 -0700)
commit688ee02864d52101a31886f9d762e6d8d13bc3c2
treef0772fb8b6b2322a5691c8f4cf2ed7c482deb1fe
parent241741a77a8ffb8b5b8e65a717922b22bb423325
anv: Set CS stall bit during HIZ_CCS_WT surface fast clear

It make sense to enable CS stall so that it guarantees that the fast
clear will start after tile cache flush has completed.

cc: mesa-stable
closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9030

Fixes: e488773b ("anv: Fast clear depth/stencil surface in vkCmdClearAttachments"
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23063>
src/intel/vulkan/anv_blorp.c