iris/compute: Add MEDIA_STATE_FLUSH following WALKER
authorJordan Justen <jordan.l.justen@intel.com>
Sun, 23 Sep 2018 22:09:55 +0000 (15:09 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:09 +0000 (10:26 -0800)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
src/gallium/drivers/iris/iris_state.c

index 9383617f0cd680a298df2bc14eeb9c2bf3f97f71..a4644f02b61edbad1742a2f69d8689966525f94e 100644 (file)
@@ -4362,6 +4362,8 @@ iris_upload_compute_state(struct iris_context *ice,
       ggw.BottomExecutionMask        = 0xffffffff;
    }
 
+   iris_emit_cmd(batch, GENX(MEDIA_STATE_FLUSH), msf);
+
    if (!batch->contains_draw) {
       iris_restore_compute_saved_bos(ice, batch, grid);
       batch->contains_draw = true;