mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 10:26:29 +08:00
performance: Limit tlb flush WA scope on DG2 Linux
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f7eb961435
commit
fa181937a4
@@ -61,7 +61,7 @@ void ProductHelperHw<gfxProduct>::adjustSamplerState(void *sampler, const Hardwa
|
||||
}
|
||||
|
||||
template <PRODUCT_FAMILY gfxProduct>
|
||||
bool ProductHelperHw<gfxProduct>::isTlbFlushRequired() const {
|
||||
bool ProductHelperHw<gfxProduct>::isTlbFlushRequired(const HardwareInfo &hwInfo, bool precondition, bool isDebuggerActive) const {
|
||||
bool tlbFlushRequired = true;
|
||||
if (debugManager.flags.ForceTlbFlush.get() != -1) {
|
||||
tlbFlushRequired = !!debugManager.flags.ForceTlbFlush.get();
|
||||
|
||||
Reference in New Issue
Block a user