From 9b5cda95aa7f379b17f9c5dae1aaa1201aa4cf20 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Sun, 23 Sep 2018 15:09:55 -0700 Subject: [PATCH] iris/compute: Add MEDIA_STATE_FLUSH following WALKER Signed-off-by: Jordan Justen --- src/gallium/drivers/iris/iris_state.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index 9383617f0cd..a4644f02b61 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -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; -- 2.30.2