Revert "performance: Optimize heap handling when mitigate dc flush"

This reverts commit 452f4b1dd1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2024-08-31 05:32:38 +02:00
committed by Compute-Runtime-Automation
parent d7981754fa
commit d3f32358e9
9 changed files with 14 additions and 47 deletions

View File

@@ -47,7 +47,7 @@ bool CacheSettingsHelper::preferNoCpuAccess(GMM_RESOURCE_USAGE_TYPE_ENUM gmmReso
}
GMM_RESOURCE_USAGE_TYPE_ENUM CacheSettingsHelper::getDefaultUsageTypeWithCachingEnabled(AllocationType allocationType, const ProductHelper &productHelper) {
if (productHelper.overrideUsageForDcFlushMitigation(allocationType)) {
if (productHelper.overridePatAndUsageForDcFlushMitigation(allocationType)) {
return getDefaultUsageTypeWithCachingDisabled(allocationType, productHelper);
}