feature: Bind ring buffer allocations as read only

Related-To: NEO-10398
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
Maciej Plewka
2024-04-03 08:47:52 +00:00
committed by Compute-Runtime-Automation
parent ebf88c92ca
commit c6960ac947
2 changed files with 8 additions and 1 deletions

View File

@@ -142,7 +142,8 @@ void GraphicsAllocation::updateCompletionDataForAllocationAndFragments(uint64_t
bool GraphicsAllocation::hasAllocationReadOnlyType() {
if (allocationType == AllocationType::kernelIsa ||
allocationType == AllocationType::kernelIsaInternal ||
allocationType == AllocationType::commandBuffer) {
allocationType == AllocationType::commandBuffer ||
allocationType == AllocationType::ringBuffer) {
return true;
}