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 b4118162af3646a1d7eb38168df47364688f3f3c..3c18423ad3b6e2f85e29e37eea737feff76c16c8 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