Mesa (master): blorp: Add Tile Cache Flush for Unified Cache.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Oct 30 19:53:26 UTC 2019


Module: Mesa
Branch: master
Commit: a99c67b690cf7f7b92c25b859719331c8a496f03
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a99c67b690cf7f7b92c25b859719331c8a496f03

Author: Rafael Antognolli <rafael.antognolli at intel.com>
Date:   Tue Apr 30 13:34:06 2019 -0700

blorp: Add Tile Cache Flush for Unified Cache.

---

 src/intel/blorp/blorp_genX_exec.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/intel/blorp/blorp_genX_exec.h b/src/intel/blorp/blorp_genX_exec.h
index b4118162af3..3c18423ad3b 100644
--- a/src/intel/blorp/blorp_genX_exec.h
+++ b/src/intel/blorp/blorp_genX_exec.h
@@ -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




More information about the mesa-commit mailing list