From 9b5cda95aa7f379b17f9c5dae1aaa1201aa4cf20 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Sun, 23 Sep 2018 15:09:55 -0700 Subject: 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(+) (limited to 'src') 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; -- cgit v1.2.3