mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
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:
committed by
Compute-Runtime-Automation
parent
f2c9d7172a
commit
341a13ce8e
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user