summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2018-09-23 15:09:55 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:09 -0800
commit9b5cda95aa7f379b17f9c5dae1aaa1201aa4cf20 (patch)
treea51d486acfdf097aa9b5087b760056618ac16005 /src
parent6ebd04ac8fb65049351aba930ac5d4a27eb586f4 (diff)
iris/compute: Add MEDIA_STATE_FLUSH following WALKER
Signed-off-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/iris/iris_state.c2
1 files changed, 2 insertions, 0 deletions
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;