Lines Matching refs:framebuffer
109 if (ioctl(m->framebuffer->fd, FBIOPAN_DISPLAY, &m->info) == -1) in fb_post()
111 AERR("FBIOPAN_DISPLAY failed for fd: %d", m->framebuffer->fd); in fb_post()
118 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) in fb_post()
120 AERR("FBIOPUT_VSCREENINFO failed for fd: %d", m->framebuffer->fd); in fb_post()
129 AERR("Gralloc wait for vsync failed for fd: %d", m->framebuffer->fd); in fb_post()
141 mali_gralloc_lock(m, m->framebuffer, GRALLOC_USAGE_SW_WRITE_RARELY, -1, -1, -1, -1, &fb_vaddr); in fb_post()
168 mali_gralloc_unlock(m, m->framebuffer); in fb_post()
176 if (module->framebuffer) in init_frame_buffer_locked()
373 module->framebuffer = new private_handle_t(private_handle_t::PRIV_FLAGS_FRAMEBUFFER, fbSize, vaddr, in init_frame_buffer_locked()
406 res = ioctl(m->framebuffer->fd, FBIOGET_DMABUF, &fb_dma_buf); in fb_alloc_framebuffer_dmabuf()
444 if (m->framebuffer == NULL) in fb_alloc_framebuffer_locked()
485 uintptr_t framebufferVaddr = (uintptr_t)m->framebuffer->base; in fb_alloc_framebuffer_locked()
502 producer_usage, dup(m->framebuffer->fd), (framebufferVaddr - (uintptr_t)m->framebuffer->base)); in fb_alloc_framebuffer_locked()