Skip to content

Commit efee891

Browse files
bcheng0127igcbot
authored andcommitted
Changes in code.
1 parent 0711d71 commit efee891

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

inc/common/sku_wa.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8639,6 +8639,12 @@ typedef struct _WA_TABLE
86398639
WA_BUG_TYPE_UNKNOWN,
86408640
WA_BUG_PERF_IMPACT_UNKNOWN, WA_COMPONENT_UNKNOWN)
86418641

8642+
WA_DECLARE(
8643+
Wa_14013672992,
8644+
"Workaround",
8645+
WA_BUG_TYPE_UNKNOWN,
8646+
WA_BUG_PERF_IMPACT_UNKNOWN, WA_COMPONENT_UNKNOWN)
8647+
86428648
} WA_TABLE, *PWA_TABLE;
86438649

86448650
#ifdef _USC_

visa/HWCaps.inc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -870,10 +870,6 @@ SPDX-License-Identifier: MIT
870870
return false;
871871
}
872872

873-
bool hasEOTWait() const
874-
{
875-
return true;
876-
}
877873
bool noMulOrMadwExpandingBeforeScheduler()
878874
{
879875
return false;

visa/LocalScheduler/SWSB_G4IR.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5631,7 +5631,7 @@ void G4_BB_SB::SBDDD(G4_BB* bb,
56315631

56325632
if ((builder.getOption(vISA_EnableSwitch) && node->GetInstruction()->isYieldInst()) ||
56335633
(node->GetInstruction()->isCall() || node->GetInstruction()->isFCall()) ||
5634-
(builder.hasEOTWait() && node->GetInstruction()->isEOT()))
5634+
(VISA_WA_CHECK(builder.getPWaTable(), Wa_14013672992) && node->GetInstruction()->isEOT()))
56355635
{
56365636
node->setDistance(1);
56375637
if (builder.hasThreeALUPipes() || builder.hasFourALUPipes())
@@ -6979,7 +6979,7 @@ static G4_INST* setForceDebugSWSB(IR_Builder* builder, G4_BB* bb, INST_LIST_ITER
69796979
if (inst->tokenHonourInstruction())
69806980
{
69816981
inst->setSetToken(0);
6982-
if (builder->hasEOTWait() && inst->isEOT())
6982+
if (inst->isEOT())
69836983
{
69846984
inst->setDistance(1);
69856985
if (builder->hasThreeALUPipes() || builder->hasFourALUPipes())

0 commit comments

Comments
 (0)