Revert "performance: Limit tlb flush WA scope on DG2 Linux"

This reverts commit fa181937a4.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2023-12-24 07:46:47 +01:00
committed by Compute-Runtime-Automation
parent f2c9d7172a
commit 341a13ce8e
16 changed files with 15 additions and 81 deletions

View File

@@ -46,15 +46,6 @@ int ProductHelperHw<gfxProduct>::configureHardwareCustom(HardwareInfo *hwInfo, O
return 0;
}
template <>
bool ProductHelperHw<gfxProduct>::isTlbFlushRequired(const HardwareInfo &hwInfo, bool precondition, bool isDebuggerActive) const {
bool tlbFlushRequired = (!DG2::isG10(hwInfo) && precondition) || isDebuggerActive;
if (debugManager.flags.ForceTlbFlush.get() != -1) {
tlbFlushRequired = !!debugManager.flags.ForceTlbFlush.get();
}
return tlbFlushRequired;
}
template <>
bool ProductHelperHw<gfxProduct>::getUuid(NEO::DriverModel *driverModel, const uint32_t subDeviceCount, const uint32_t deviceIndex, std::array<uint8_t, ProductHelper::uuidSize> &uuid) const {
if (driverModel->getDriverModelType() != DriverModelType::drm) {