Searched refs:alloc_from_ion_heap (Results 1 – 2 of 2) sorted by relevance
/aosp12/hardware/google/gchips/gralloc4/src/allocator/ |
H A D | mali_gralloc_ion.cpp | 128 int alloc_from_ion_heap(uint64_t usage, size_t size, unsigned int flags, int *min_pgsz); 359 int ion_device::alloc_from_ion_heap(uint64_t usage, size_t size, unsigned int flags, int *min_pgsz) in alloc_from_ion_heap() function in ion_device 557 hnd->fds[idx] = dev->alloc_from_ion_heap(usage, hnd->attr_size, ion_flags, &min_pgsz); in mali_gralloc_ion_allocate_attr() 612 …fds[fidx] = dev->alloc_from_ion_heap(usage, bufDescriptor->alloc_sizes[fidx], ion_flags, &min_pgsz… in mali_gralloc_ion_allocate()
|
/aosp12/hardware/google/gchips/gralloc3/src/ |
H A D | mali_gralloc_ion.cpp | 386 static int alloc_from_ion_heap(uint64_t usage, size_t size, in alloc_from_ion_heap() function 492 …return alloc_from_ion_heap(GRALLOC1_USAGE_READ_OFTEN | GRALLOC1_USAGE_WRITE_OFTEN, PAGE_SIZE, ION_… in alloc_metadata() 784 …fd_arr[idx] = alloc_from_ion_heap(usage, bufDescriptor->sizes[idx], heap_type, ion_flags, min_pgsz… in allocate_to_fds() 805 fd_arr[idx] = alloc_from_ion_heap(usage, VIDEO_PRIV_DATA_SIZE, ION_HEAP_TYPE_SYSTEM, 0, min_pgsz); in allocate_to_fds()
|