diff options
-rw-r--r-- | src/gallium/drivers/iris/iris_state.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index 30fbd59c15e..c97738dc5af 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -419,8 +419,8 @@ flush_before_state_base_change(struct iris_batch *batch) * * STATE_BASE_ADDRESS * * 3DSTATE_BINDING_TABLE_POOL_ALLOC */ - ((GEN_GEN == 12 && devinfo->revision == 0 /* A0 */ ? - PIPE_CONTROL_FLUSH_HDC : 0))); + ((GEN_GEN == 12) ? + PIPE_CONTROL_FLUSH_HDC : 0)); } static void @@ -6924,7 +6924,7 @@ iris_emit_raw_pipe_control(struct iris_batch *batch, imm); } - if ((GEN_GEN == 9 || (GEN_GEN == 12 && devinfo->revision == 0 /* A0*/)) && + if ((GEN_GEN == 9 || (GEN_GEN == 12)) && IS_COMPUTE_PIPELINE(batch) && post_sync_flags) { /* Project: SKL / Argument: LRI Post Sync Operation [23] * |