mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Revert "performance: limit tlb flush scope to DG2"
This reverts commit 10d123ae3e.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
10d123ae3e
commit
45a26c22dd
@@ -63,7 +63,7 @@ void ProductHelperHw<gfxProduct>::adjustSamplerState(void *sampler, const Hardwa
|
||||
|
||||
template <PRODUCT_FAMILY gfxProduct>
|
||||
bool ProductHelperHw<gfxProduct>::isTlbFlushRequired() const {
|
||||
bool tlbFlushRequired = false;
|
||||
bool tlbFlushRequired = true;
|
||||
if (debugManager.flags.ForceTlbFlush.get() != -1) {
|
||||
tlbFlushRequired = !!debugManager.flags.ForceTlbFlush.get();
|
||||
}
|
||||
|
||||
@@ -148,6 +148,15 @@ bool ProductHelperHw<gfxProduct>::isBlitCopyRequiredForLocalMemory(const RootDev
|
||||
return false;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ProductHelperHw<gfxProduct>::isTlbFlushRequired() const {
|
||||
bool tlbFlushRequired = false;
|
||||
if (debugManager.flags.ForceTlbFlush.get() != -1) {
|
||||
tlbFlushRequired = !!debugManager.flags.ForceTlbFlush.get();
|
||||
}
|
||||
return tlbFlushRequired;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ProductHelperHw<gfxProduct>::isBlitSplitEnqueueWARequired(const HardwareInfo &hwInfo) const {
|
||||
return true;
|
||||
|
||||
@@ -266,13 +266,4 @@ bool ProductHelperHw<gfxProduct>::isHostUsmAllocationReuseSupported() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ProductHelperHw<gfxProduct>::isTlbFlushRequired() const {
|
||||
bool tlbFlushRequired = true;
|
||||
if (debugManager.flags.ForceTlbFlush.get() != -1) {
|
||||
tlbFlushRequired = !!debugManager.flags.ForceTlbFlush.get();
|
||||
}
|
||||
return tlbFlushRequired;
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user