anv: Use workaround framework to Wa_14016118574

Wa_14016118574 is not the lineage number for this workaround so
it was updated to Wa_22014412737.
Wa_22014412737 is not applicable for MTL B0 steppings and newer
so using the workaround framework eliminates this pipe_control
instruction for not affected revisions.

Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24221>
This commit is contained in:
José Roberto de Souza
2023-07-18 10:29:39 -07:00
committed by Marge Bot
parent 58febefa9a
commit 2a6fc690c1
+3 -4
View File
@@ -8182,10 +8182,9 @@ genX(batch_emit_dummy_post_sync_op)(struct anv_batch *batch,
uint32_t primitive_topology,
uint32_t vertex_count)
{
#if GFX_VERx10 != 125
return;
#endif
/* Wa_14016118574 */
if (!intel_needs_workaround(device->info, 22014412737))
return;
if ((primitive_topology == _3DPRIM_POINTLIST ||
primitive_topology == _3DPRIM_LINELIST ||
primitive_topology == _3DPRIM_LINESTRIP ||