anv: Remove Tile Cache flush from SBA, Pipe Select
authorFelix DeGrood <felix.j.degrood@intel.com>
Wed, 17 Mar 2021 04:00:59 +0000 (21:00 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 15 Jun 2021 12:57:42 +0000 (12:57 +0000)
Tile Cache flushing not required for State Base Address or
Pipe Select instructions.

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

src/intel/vulkan/genX_cmd_buffer.c

index 709df10..386add2 100644 (file)
@@ -99,9 +99,6 @@ genX(cmd_buffer_emit_state_base_address)(struct anv_cmd_buffer *cmd_buffer)
       pc.DCFlushEnable = true;
       pc.RenderTargetCacheFlushEnable = true;
       pc.CommandStreamerStallEnable = true;
-#if GFX_VER >= 12
-      pc.TileCacheFlushEnable = true;
-#endif
 #if GFX_VER == 12
       /* Wa_1606662791:
        *
@@ -4996,8 +4993,6 @@ genX(flush_pipeline_select)(struct anv_cmd_buffer *cmd_buffer,
       pc.PostSyncOperation             = NoWrite;
       pc.CommandStreamerStallEnable    = true;
 #if GFX_VER >= 12
-      pc.TileCacheFlushEnable = true;
-
       /* Wa_1409600907: "PIPE_CONTROL with Depth Stall Enable bit must be
        * set with any PIPE_CONTROL with Depth Flush Enable bit set.
        */
@@ -5012,9 +5007,6 @@ genX(flush_pipeline_select)(struct anv_cmd_buffer *cmd_buffer,
       pc.StateCacheInvalidationEnable     = true;
       pc.InstructionCacheInvalidateEnable = true;
       pc.PostSyncOperation                = NoWrite;
-#if GFX_VER >= 12
-      pc.TileCacheFlushEnable = true;
-#endif
       anv_debug_dump_pc(pc);
    }