From: Jordan Justen Date: Sun, 23 Sep 2018 22:09:55 +0000 (-0700) Subject: iris/compute: Add MEDIA_STATE_FLUSH following WALKER X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b5cda95aa7f379b17f9c5dae1aaa1201aa4cf20;p=mesa.git iris/compute: Add MEDIA_STATE_FLUSH following WALKER Signed-off-by: Jordan Justen --- 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;