Make buffer allocations not lockable

Related-To: NEO-5733
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2021-04-28 19:08:29 +00:00
committed by Compute-Runtime-Automation
parent 492d715846
commit de116aac5c
2 changed files with 5 additions and 3 deletions

View File

@ -233,7 +233,6 @@ class GraphicsAllocation : public IDNode<GraphicsAllocation> {
static bool isLockable(AllocationType allocationType) {
return isCpuAccessRequired(allocationType) ||
isIsaAllocationType(allocationType) ||
allocationType == AllocationType::BUFFER ||
allocationType == AllocationType::BUFFER_HOST_MEMORY ||
allocationType == AllocationType::GPU_TIMESTAMP_DEVICE_BUFFER ||
allocationType == AllocationType::SVM_GPU ||