mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 00:24:58 +08:00
performance: Optimize heap handling when mitigate dc flush
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c0cec096a5
commit
9249c5c65c
@@ -570,6 +570,9 @@ void CommandContainer::storeAllocationAndFlushTagUpdate(GraphicsAllocation *allo
|
||||
} else {
|
||||
getHeapHelper()->storeHeapAllocation(allocation);
|
||||
}
|
||||
if (device->getProductHelper().isDcFlushMitigated()) {
|
||||
this->immediateCmdListCsr->registerDcFlushForDcMitigation();
|
||||
}
|
||||
this->immediateCmdListCsr->flushTagUpdate();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user