mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
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:
committed by
Compute-Runtime-Automation
parent
ebf88c92ca
commit
c6960ac947
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user