Home
last modified time | relevance | path

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

/device/linaro/hikey/gralloc/
Dalloc_device.cpp249 ump_secure_id ump_id; in gralloc_alloc_buffer() local
287 ump_id = ump_secure_id_get(ump_mem_handle); in gralloc_alloc_buffer()
289 if (UMP_INVALID_SECURE_ID != ump_id) in gralloc_alloc_buffer()
292 private_handle_t::LOCK_STATE_MAPPED, ump_id, ump_mem_handle); in gralloc_alloc_buffer()
301 …c_alloc_buffer() failed to allocate handle. ump_handle = %p, ump_id = %d", ump_mem_handle, ump_id); in gralloc_alloc_buffer()
388 hnd->ump_id = m->framebuffer->ump_id; in gralloc_alloc_framebuffer_locked()
391 if ((int)UMP_INVALID_SECURE_ID != hnd->ump_id) in gralloc_alloc_framebuffer_locked()
393 hnd->ump_mem_handle = (int)ump_handle_create_from_secure_id(hnd->ump_id); in gralloc_alloc_framebuffer_locked()
397 AINF("warning: unable to create UMP handle from secure ID %i\n", hnd->ump_id); in gralloc_alloc_framebuffer_locked()
Dgralloc_priv.h190 int ump_id; member
234 ump_id((int)secure_id), in private_handle_t()
268 ump_id((int)UMP_INVALID_SECURE_ID), in private_handle_t()
302 ump_id((int)UMP_INVALID_SECURE_ID), in private_handle_t()
Dframebuffer_device.cpp397 ioctl(fd, IOCTL_GET_FB_UMP_SECURE_ID, &module->framebuffer->ump_id); in init_frame_buffer_locked()
400 if ((int)UMP_INVALID_SECURE_ID != module->framebuffer->ump_id) in init_frame_buffer_locked()
402 AINF("framebuffer accessed with UMP secure ID %i\n", module->framebuffer->ump_id); in init_frame_buffer_locked()
Dgralloc_module.cpp107 hnd->ump_mem_handle = (int)ump_handle_create_from_secure_id(hnd->ump_id); in gralloc_register_buffer()