Home
last modified time | relevance | path

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

/device/linaro/hikey/gralloc/
Dalloc_device.cpp184 ump_secure_id ump_id; in gralloc_alloc_buffer() local
216 ump_id = ump_secure_id_get(ump_mem_handle); in gralloc_alloc_buffer()
218 if (UMP_INVALID_SECURE_ID != ump_id) in gralloc_alloc_buffer()
221 private_handle_t::LOCK_STATE_MAPPED, ump_id, ump_mem_handle); in gralloc_alloc_buffer()
230 …c_alloc_buffer() failed to allocate handle. ump_handle = %p, ump_id = %d", ump_mem_handle, ump_id); in gralloc_alloc_buffer()
313 hnd->ump_id = m->framebuffer->ump_id; in gralloc_alloc_framebuffer_locked()
316 if ((int)UMP_INVALID_SECURE_ID != hnd->ump_id) in gralloc_alloc_framebuffer_locked()
318 hnd->ump_mem_handle = (int)ump_handle_create_from_secure_id(hnd->ump_id); in gralloc_alloc_framebuffer_locked()
322 AINF("warning: unable to create UMP handle from secure ID %i\n", hnd->ump_id); in gralloc_alloc_framebuffer_locked()
Dgralloc_priv.h180 int ump_id; member
220 ump_id((int)secure_id), in private_handle_t()
253 ump_id((int)UMP_INVALID_SECURE_ID), in private_handle_t()
286 ump_id((int)UMP_INVALID_SECURE_ID), in private_handle_t()
Dframebuffer_device.cpp393 ioctl(fd, IOCTL_GET_FB_UMP_SECURE_ID, &module->framebuffer->ump_id); in init_frame_buffer_locked()
396 if ((int)UMP_INVALID_SECURE_ID != module->framebuffer->ump_id) in init_frame_buffer_locked()
398 AINF("framebuffer accessed with UMP secure ID %i\n", module->framebuffer->ump_id); in init_frame_buffer_locked()
Dgralloc_module.cpp104 hnd->ump_mem_handle = (int)ump_handle_create_from_secure_id(hnd->ump_id); in gralloc_register_buffer()