Revert "Allow cpu buffers copy on DG2 in 32bit"

This reverts commit 2055daf696.

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
Maciej Plewka
2022-06-07 16:04:33 +00:00
committed by Compute-Runtime-Automation
parent ed1506e208
commit 5bee8ebd35
10 changed files with 16 additions and 115 deletions

View File

@@ -38,11 +38,5 @@ void HwHelperHw<Family>::setExtraAllocationData(AllocationData &allocationData,
allocationData.storageInfo.isLockable = false;
}
}
if (HwInfoConfig::get(hwInfo.platform.eProductFamily)->isStorageInfoAdjustmentRequired()) {
if (properties.allocationType == AllocationType::BUFFER && !properties.flags.preferCompressed && !properties.flags.shareable) {
allocationData.storageInfo.isLockable = true;
}
}
}
} // namespace NEO