anv: move WA 1607854226 to use the WA infrastructure

Signed-off-by: Rohan Garg <rohan.garg@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23929>
This commit is contained in:
Rohan Garg 2023-06-29 15:02:59 +02:00 committed by Marge Bot
parent 2bd2c03b0e
commit 4f3890dd87

View file

@ -138,7 +138,7 @@ genX(cmd_buffer_emit_state_base_address)(struct anv_cmd_buffer *cmd_buffer)
ANV_PIPE_RENDER_TARGET_CACHE_FLUSH_BIT |
ANV_PIPE_CS_STALL_BIT);
#if GFX_VERx10 == 120
#if INTEL_NEEDS_WA_1607854226
/* Wa_1607854226:
*
* Workaround the non pipelined state not applying in MEDIA/GPGPU pipeline
@ -228,7 +228,7 @@ genX(cmd_buffer_emit_state_base_address)(struct anv_cmd_buffer *cmd_buffer)
#endif
}
#if GFX_VERx10 == 120
#if INTEL_NEEDS_WA_1607854226
/* Wa_1607854226:
*
* Put the pipeline back into its current mode.