Module: Mesa Branch: main Commit: 2444a3cd465f6f11bdd3ab885cec7693c874b2f0 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2444a3cd465f6f11bdd3ab885cec7693c874b2f0
Author: Rohan Garg <rohan.g...@intel.com> Date: Thu Nov 2 13:57:20 2023 +0100 intel/compiler: migrate WA 14013672992 to use WA framework Signed-off-by: Rohan Garg <rohan.g...@intel.com> Reviewed-by: Tapani Pälli <tapani.pa...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26006> --- src/intel/compiler/brw_fs_generator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intel/compiler/brw_fs_generator.cpp b/src/intel/compiler/brw_fs_generator.cpp index 44144597ee8..10a52b6b293 100644 --- a/src/intel/compiler/brw_fs_generator.cpp +++ b/src/intel/compiler/brw_fs_generator.cpp @@ -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);