mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
fix: Disable dc flush mitigation
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
080488e243
commit
8f671cb6a8
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user