gralloc1: Allocate sensor data from ADSP heap
CRs-Fixed: 2041813 Change-Id: I15489e9cb1f20c650fba31c827a22f5ae306b842
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
096291d716
commit
98de6d8ab7
@@ -289,7 +289,8 @@ void Allocator::GetIonHeapInfo(gralloc1_producer_usage_t prod_usage,
|
||||
heap_id |= ION_HEAP(ION_CAMERA_HEAP_ID);
|
||||
}
|
||||
|
||||
if (prod_usage & GRALLOC1_PRODUCER_USAGE_PRIVATE_ADSP_HEAP) {
|
||||
if (prod_usage & GRALLOC1_PRODUCER_USAGE_PRIVATE_ADSP_HEAP ||
|
||||
prod_usage & GRALLOC1_PRODUCER_USAGE_SENSOR_DIRECT_DATA) {
|
||||
heap_id |= ION_HEAP(ION_ADSP_HEAP_ID);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user