HomeSort by relevance Sort by last modified time
    Searched refs:ump_mem_handle (Results 1 - 3 of 3) sorted by null

  /device/linaro/hikey/gralloc/
alloc_device.cpp 182 ump_handle ump_mem_handle; local
203 ump_mem_handle = UMP_INVALID_MEMORY_HANDLE;
208 ump_mem_handle = ump_ref_drv_allocate(size, constraints);
210 if (UMP_INVALID_MEMORY_HANDLE != ump_mem_handle)
212 cpu_ptr = ump_mapped_pointer_get(ump_mem_handle);
216 ump_id = ump_secure_id_get(ump_mem_handle);
221 private_handle_t::LOCK_STATE_MAPPED, ump_id, ump_mem_handle);
230 AERR("gralloc_alloc_buffer() failed to allocate handle. ump_handle = %p, ump_id = %d", ump_mem_handle, ump_id);
235 AERR("gralloc_alloc_buffer() failed to retrieve valid secure id. ump_handle = %p", ump_mem_handle);
238 ump_mapped_pointer_release(ump_mem_handle);
    [all...]
gralloc_module.cpp 104 hnd->ump_mem_handle = (int)ump_handle_create_from_secure_id(hnd->ump_id);
106 if (UMP_INVALID_MEMORY_HANDLE != (ump_handle)hnd->ump_mem_handle)
108 hnd->base = ump_mapped_pointer_get((ump_handle)hnd->ump_mem_handle);
119 AERR("Failed to map UMP handle 0x%x", hnd->ump_mem_handle);
122 ump_reference_release((ump_handle)hnd->ump_mem_handle);
126 AERR("Failed to create UMP handle 0x%x", hnd->ump_mem_handle);
200 ump_mapped_pointer_release((ump_handle)hnd->ump_mem_handle);
201 ump_reference_release((ump_handle)hnd->ump_mem_handle);
202 hnd->ump_mem_handle = (int)UMP_INVALID_MEMORY_HANDLE;
334 ump_cpu_msync_now((ump_handle)hnd->ump_mem_handle, UMP_MSYNC_CLEAN_AND_INVALIDATE, (void *)hnd->base, hnd->size)
    [all...]
gralloc_priv.h 181 int ump_mem_handle; member in struct:private_handle_t
221 ump_mem_handle((int)handle),
254 ump_mem_handle((int)UMP_INVALID_MEMORY_HANDLE),
287 ump_mem_handle((int)UMP_INVALID_MEMORY_HANDLE),

Completed in 238 milliseconds