mirror of
https://github.com/intel/intel-graphics-compiler.git
synced 2025-10-30 08:18:26 +08:00
Connect HW WA to the WA ID
HW WA 22016140776 is applied to GenNext with WA ID, but WA ID for PVC is not ready. So we have to keep both. Fixed initial value of an option.
This commit is contained in:
@ -579,3 +579,8 @@ SPDX-License-Identifier: MIT
|
||||
WA_BUG_TYPE_UNKNOWN,
|
||||
WA_BUG_PERF_IMPACT_UNKNOWN, WA_COMPONENT_UNKNOWN)
|
||||
|
||||
WA_DECLARE(
|
||||
Wa_22016140776,
|
||||
"Workaround",
|
||||
WA_BUG_TYPE_CORRUPTION,
|
||||
WA_BUG_PERF_IMPACT_UNKNOWN, WA_COMPONENT_UNKNOWN)
|
||||
|
||||
@ -745,7 +745,9 @@ bool HWConformity::fixMathInst(INST_LIST_ITER it, G4_BB *bb) {
|
||||
replaceDst(it, extype);
|
||||
}
|
||||
|
||||
if (builder.hasHFMathSrcBroadCast() && (inst->getExecSize() != g4::SIMD1)) {
|
||||
if ((builder.hasHFMathSrcBroadCast() ||
|
||||
VISA_WA_CHECK(builder.getPWaTable(), Wa_22016140776)) &&
|
||||
(inst->getExecSize() != g4::SIMD1)) {
|
||||
auto src0 = inst->getSrc(0);
|
||||
auto src1 = inst->getSrc(1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user