anv: Defer flushing PIPE_CONTROL bits forbidden in CCS while in GPGPU mode
Fixes: 313aeee8
("anv: Use pending pipe control mechanism in flush_pipeline_select()
")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7816
Signed-off-by: Sviatoslav Peleshko <sviatoslav.peleshko@globallogic.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20124>
This commit is contained in:

committed by
Marge Bot

parent
cd5c66e165
commit
77ecf9149c
@@ -2123,6 +2123,24 @@ enum anv_pipe_bits {
|
||||
ANV_PIPE_INSTRUCTION_CACHE_INVALIDATE_BIT | \
|
||||
ANV_PIPE_AUX_TABLE_INVALIDATE_BIT)
|
||||
|
||||
/* PIPE_CONTROL bits that should be set only in 3D RCS mode.
|
||||
* For more details see genX(emit_apply_pipe_flushes).
|
||||
*/
|
||||
#define ANV_PIPE_GFX_BITS ( \
|
||||
ANV_PIPE_RENDER_TARGET_CACHE_FLUSH_BIT | \
|
||||
ANV_PIPE_DEPTH_CACHE_FLUSH_BIT | \
|
||||
ANV_PIPE_TILE_CACHE_FLUSH_BIT | \
|
||||
ANV_PIPE_DEPTH_STALL_BIT | \
|
||||
ANV_PIPE_STALL_AT_SCOREBOARD_BIT | \
|
||||
(GFX_VERx10 >= 125 ? ANV_PIPE_PSS_STALL_SYNC_BIT : 0) | \
|
||||
ANV_PIPE_VF_CACHE_INVALIDATE_BIT)
|
||||
|
||||
/* PIPE_CONTROL bits that should be set only in Media/GPGPU RCS mode.
|
||||
* For more details see genX(emit_apply_pipe_flushes).
|
||||
*/
|
||||
#define ANV_PIPE_GPGPU_BITS ( \
|
||||
(GFX_VERx10 >= 125 ? ANV_PIPE_UNTYPED_DATAPORT_CACHE_FLUSH_BIT : 0))
|
||||
|
||||
enum intel_ds_stall_flag
|
||||
anv_pipe_flush_bit_to_ds_stall_flag(enum anv_pipe_bits bits);
|
||||
|
||||
|
Reference in New Issue
Block a user