fix: Disable dc flush mitigation

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2024-12-06 10:49:54 +00:00
committed by Compute-Runtime-Automation
parent 080488e243
commit 8f671cb6a8
3 changed files with 4 additions and 9 deletions

View File

@@ -19,7 +19,7 @@ struct CopyEnginesLnlFixture : public CopyEngineXeHPAndLater<numTiles, useLocalM
bool compressionSupported() const override {
auto &ftrTable = MulticontextOclAubFixture::rootDevice->getHardwareInfo().featureTable;
return (ftrTable.flags.ftrFlatPhysCCS);
return (ftrTable.flags.ftrFlatPhysCCS && ftrTable.flags.ftrXe2Compression);
}
};

View File

@@ -52,11 +52,6 @@ bool ProductHelperHw<gfxProduct>::isDirectSubmissionSupported(ReleaseHelper *rel
return true;
}
template <>
bool ProductHelperHw<gfxProduct>::mitigateDcFlush() const {
return true;
}
template <>
bool ProductHelperHw<gfxProduct>::restartDirectSubmissionForHostptrFree() const {
return true;

View File

@@ -23,9 +23,9 @@ LNLTEST_F(LnlProductHelperWindows, givenProductHelperWhenCheckDirectSubmissionSu
EXPECT_TRUE(productHelper->isDirectSubmissionSupported(releaseHelper));
}
LNLTEST_F(LnlProductHelperWindows, givenProductHelperWhenDcFlushMitigationThenReturnTrue) {
EXPECT_TRUE(productHelper->mitigateDcFlush());
EXPECT_TRUE(productHelper->isDcFlushMitigated());
LNLTEST_F(LnlProductHelperWindows, givenProductHelperWhenDcFlushMitigationThenReturnFalse) {
EXPECT_FALSE(productHelper->mitigateDcFlush());
EXPECT_FALSE(productHelper->isDcFlushMitigated());
}
LNLTEST_F(LnlProductHelperWindows, givenProductHelperWhenOverridePatIndexCalledThenCorrectValueIsReturned) {