Merge "libgralloc: Add support to use CAMERA_HEAP"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
9ed6331ea3
@@ -225,6 +225,9 @@ int IonController::allocate(alloc_data& data, int usage)
|
||||
ionFlags |= ION_HEAP(ION_IOMMU_HEAP_ID);
|
||||
}
|
||||
|
||||
if(usage & GRALLOC_USAGE_PRIVATE_CAMERA_HEAP)
|
||||
ionFlags |= ION_HEAP(ION_CAMERA_HEAP_ID);
|
||||
|
||||
if(usage & GRALLOC_USAGE_PRIVATE_ADSP_HEAP)
|
||||
ionFlags |= ION_HEAP(ION_ADSP_HEAP_ID);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user