Home
last modified time | relevance | path

Searched refs:min_pgsz (Results 1 – 4 of 4) sorted by relevance

/device/linaro/hikey/gralloc960/
Dmali_gralloc_ion.cpp154 …c_from_ion_heap(int ion_fd, size_t size, unsigned int heap_mask, unsigned int flags, int *min_pgsz) in alloc_from_ion_heap() argument
159 if ((ion_fd < 0) || (size <= 0) || (heap_mask == 0) || (min_pgsz == NULL)) in alloc_from_ion_heap()
214 *min_pgsz = SZ_4K; in alloc_from_ion_heap()
222 *min_pgsz = size; in alloc_from_ion_heap()
228 *min_pgsz = SZ_2M; in alloc_from_ion_heap()
234 *min_pgsz = SZ_2M; in alloc_from_ion_heap()
243 *min_pgsz = SZ_4K; in alloc_from_ion_heap()
248 *min_pgsz = SZ_4K; in alloc_from_ion_heap()
402 int min_pgsz = 0; in mali_gralloc_ion_allocate() local
454 …_fd = alloc_from_ion_heap(m->ion_client, max_bufDescriptor->size, heap_mask, ion_flags, &min_pgsz); in mali_gralloc_ion_allocate()
[all …]
Dmali_gralloc_private_interface.cpp161 int *min_pgsz) in mali_gralloc_private_get_buff_min_page_size() argument
165 if (private_handle_t::validate(handle) < 0 || min_pgsz == NULL) in mali_gralloc_private_get_buff_min_page_size()
171 *min_pgsz = hnd->min_pgsz; in mali_gralloc_private_get_buff_min_page_size()
Dmali_gralloc_buffer.h152 int min_pgsz; member
223 , min_pgsz(_min_pgsz) in private_handle_t()
Dmali_gralloc_private_interface.h61 int *min_pgsz);