Revert "[PVC] Remove tlb flush"

This reverts commit 9b13f13e51.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2023-01-17 02:46:47 +01:00
committed by Compute-Runtime-Automation
parent 52593fd4f4
commit b342b5f53b
2 changed files with 1 additions and 6 deletions

View File

@@ -163,11 +163,6 @@ bool ProductHelperHw<gfxProduct>::isBlitCopyRequiredForLocalMemory(const Hardwar
return false;
}
template <>
bool ProductHelperHw<gfxProduct>::isTlbFlushRequired() const {
return false;
}
template <>
bool ProductHelperHw<gfxProduct>::isBlitSplitEnqueueWARequired(const HardwareInfo &hwInfo) const {
return true;

View File

@@ -28,7 +28,7 @@ PVCTEST_F(PvcProductHelper, whenGettingAubstreamProductFamilyThenProperEnumValue
}
PVCTEST_F(PvcProductHelper, whenCheckIsTlbFlushRequiredThenReturnProperValue) {
EXPECT_FALSE(productHelper->isTlbFlushRequired());
EXPECT_TRUE(productHelper->isTlbFlushRequired());
}
PVCTEST_F(PvcProductHelper, givenPVCRevId3AndAboveWhenGettingThreadEuRatioForScratchThen16IsReturned) {