anv: Invalidate state cache before L3 partitioning set-up.

Port 10d84ba9f0 to anv.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
Jordan Justen
2016-03-28 12:08:31 -07:00
parent 5879cb0251
commit f60683b32a
2 changed files with 2 additions and 0 deletions

View File

@@ -351,6 +351,7 @@ genX(cmd_buffer_config_l3)(struct anv_cmd_buffer *cmd_buffer, bool enable_slm)
.TextureCacheInvalidationEnable = true,
.ConstantCacheInvalidationEnable = true,
.InstructionCacheInvalidateEnable = true,
.StateCacheInvalidationEnable = true,
.PostSyncOperation = NoWrite);
/* Now send a third stalling flush to make sure that invalidation is

View File

@@ -162,6 +162,7 @@ genX(cmd_buffer_config_l3)(struct anv_cmd_buffer *cmd_buffer, bool enable_slm)
.TextureCacheInvalidationEnable = true,
.ConstantCacheInvalidationEnable = true,
.InstructionCacheInvalidateEnable = true,
.StateCacheInvalidationEnable = true,
.PostSyncOperation = NoWrite);
/* Now send a third stalling flush to make sure that invalidation is