iris: use workaround framework for 1408224581, 14014097488

This makes sure we apply WA only when it is required, these issues
do not happen for later MTL steppings.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23596>
This commit is contained in:
Tapani Pälli 2023-06-12 16:25:18 +03:00 committed by Marge Bot
parent 15433897b2
commit c7c902cdbf

View file

@ -7002,7 +7002,8 @@ iris_upload_dirty_render_state(struct iris_context *ice,
if (zres)
genX(emit_depth_state_workarounds)(ice, batch, &zres->surf);
if (GFX_VER >= 11) {
if (intel_needs_workaround(batch->screen->devinfo, 1408224581) ||
intel_needs_workaround(batch->screen->devinfo, 14014097488)) {
/* Wa_1408224581
*
* Workaround: Gfx12LP Astep only An additional pipe control with