anv: Ensure we clear ANV_PIPE_PSS_STALL_SYNC_BIT on flush
authorRohan Garg <rohan.garg@intel.com>
Fri, 1 Apr 2022 12:47:04 +0000 (14:47 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 20 Dec 2022 10:44:54 +0000 (10:44 +0000)
Add the PSS stall bit to ANV_PIPE_STALL_BITS so that it get's cleared on
flush.

Fixes: f3c62973 ("anv,iris: PSS Stall Sync around color fast clears")

Signed-off-by: Rohan Garg <rohan.garg@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20317>

src/intel/vulkan/anv_private.h

index 90921c4..5486e2c 100644 (file)
@@ -2130,7 +2130,8 @@ enum anv_pipe_bits {
 #define ANV_PIPE_STALL_BITS ( \
    ANV_PIPE_STALL_AT_SCOREBOARD_BIT | \
    ANV_PIPE_DEPTH_STALL_BIT | \
-   ANV_PIPE_CS_STALL_BIT)
+   ANV_PIPE_CS_STALL_BIT | \
+   ANV_PIPE_PSS_STALL_SYNC_BIT)
 
 #define ANV_PIPE_INVALIDATE_BITS ( \
    ANV_PIPE_STATE_CACHE_INVALIDATE_BIT | \