intel/compiler: migrate WA 14013672992 to use WA framework

Signed-off-by: Rohan Garg <rohan.garg@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26006>
This commit is contained in:
Rohan Garg 2023-11-02 13:57:20 +01:00 committed by Marge Bot
parent 11282598e6
commit 2444a3cd46

View file

@ -1678,11 +1678,11 @@ fs_generator::generate_code(const cfg_t *cfg, int dispatch_width,
inst->dst.is_accumulator();
}
/* Wa_14013745556:
/* Wa_14013672992:
*
* Always use @1 SWSB for EOT.
*/
if (inst->eot && devinfo->ver >= 12) {
if (inst->eot && intel_needs_workaround(devinfo, 14013672992)) {
if (tgl_swsb_src_dep(swsb).mode) {
brw_set_default_exec_size(p, BRW_EXECUTE_1);
brw_set_default_mask_control(p, BRW_MASK_DISABLE);