intel/icl: Do StateCacheInvalidation for indirect clear color

StateCacheInvalidation is required on all gen7+ platforms. We
don't need to update this check for every new gen h/w unless
this requirement is changed. So, dropping the check for latest
gen h/w.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Anuj Phogat
2017-06-27 14:46:26 -07:00
parent bff24e2173
commit 772a75be46
+1 -1
View File
@@ -1391,7 +1391,7 @@ blorp_emit_surface_states(struct blorp_batch *batch,
}
}
#if GEN_GEN >= 7 && GEN_GEN <= 10
#if GEN_GEN >= 7
if (has_indirect_clear_color) {
/* Updating a surface state object may require that the state cache be
* invalidated. From the SKL PRM, Shared Functions -> State -> State