From: Tapani Pälli Date: Thu, 10 Nov 2022 16:22:12 +0000 (+0200) Subject: iris: setup stage bitmask for Wa_22011440098 X-Git-Tag: upstream/23.3.3~17065 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=210d95bdb35c2c172f0a3a9527b181f8988a627f;p=platform%2Fupstream%2Fmesa.git iris: setup stage bitmask for Wa_22011440098 Fixes: 40b66a44998 ("anv, iris: Add Wa_22011440098 for DG2") Signed-off-by: Tapani Pälli Reviewed-by: Lionel Landwerlin Part-of: --- diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index 15f1ed98fc6..8857973e26e 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -988,6 +988,8 @@ iris_alloc_push_constants(struct iris_batch *batch) */ if (intel_device_info_is_dg2(devinfo)) { iris_emit_cmd(batch, GENX(3DSTATE_CONSTANT_ALL), c) { + /* Update empty push constants for all stages (bitmask = 11111b) */ + c.ShaderUpdateEnable = 0x1f; c.MOCS = iris_mocs(NULL, &batch->screen->isl_dev, 0); } }