blorp: Add Tile Cache Flush for Unified Cache.
authorRafael Antognolli <rafael.antognolli@intel.com>
Tue, 30 Apr 2019 20:34:06 +0000 (13:34 -0700)
committerRafael Antognolli <rafael.antognolli@intel.com>
Wed, 30 Oct 2019 19:51:03 +0000 (19:51 +0000)
src/intel/blorp/blorp_genX_exec.h

index b411816..3c18423 100644 (file)
@@ -1519,6 +1519,9 @@ blorp_emit_surface_states(struct blorp_batch *batch,
        */
       blorp_emit(batch, GENX(PIPE_CONTROL), pipe) {
          pipe.StateCacheInvalidationEnable = true;
+#if GEN_GEN >= 12
+         pipe.TileCacheFlushEnable = true;
+#endif
       }
    }
 #endif