performance: Optimize heap handling when mitigate dc flush

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2024-09-02 13:11:04 +00:00
committed by Compute-Runtime-Automation
parent c0cec096a5
commit 9249c5c65c
11 changed files with 53 additions and 14 deletions

View File

@@ -570,6 +570,9 @@ void CommandContainer::storeAllocationAndFlushTagUpdate(GraphicsAllocation *allo
} else {
getHeapHelper()->storeHeapAllocation(allocation);
}
if (device->getProductHelper().isDcFlushMitigated()) {
this->immediateCmdListCsr->registerDcFlushForDcMitigation();
}
this->immediateCmdListCsr->flushTagUpdate();
}