Searched refs:fbdev_fd (Results 1 – 2 of 2) sorted by relevance
/device/linaro/hikey/gralloc/ |
D | framebuffer_device.cpp | 97 int fbdev_fd = m->framebuffer->shallow_fbdev_fd; in fb_post() local 99 if (ioctl(fbdev_fd, FBIOPAN_DISPLAY, &m->info) == -1) in fb_post() 101 AERR("FBIOPAN_DISPLAY failed for fd: %d", fbdev_fd); in fb_post() 111 if (ioctl(fbdev_fd, S3CFB_SET_VSYNC_INT, &interrupt) < 0) in fb_post() 123 if (ioctl(fbdev_fd, FBIO_WAITFORVSYNC, &crtc) < 0) in fb_post() 125 AERR("FBIO_WAITFORVSYNC failed for fd: %d", fbdev_fd); in fb_post() 138 if (ioctl(fbdev_fd, S3CFB_SET_VSYNC_INT, &interrupt) < 0) in fb_post() 140 AERR("S3CFB_SET_VSYNC_INT disable failed for fd: %d", fbdev_fd); in fb_post() 151 if (ioctl(fbdev_fd, FBIOPUT_VSCREENINFO, &m->info) == -1) in fb_post() 153 AERR("FBIOPUT_VSCREENINFO failed for fd: %d", fbdev_fd); in fb_post()
|
D | alloc_device.cpp | 303 int fbdev_fd = m->framebuffer->shallow_fbdev_fd; in gralloc_alloc_framebuffer_locked() local 306 0, fbdev_fd, (uintptr_t)vaddr - (uintptr_t) m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 328 if (ioctl(fbdev_fd, FBIOGET_DMABUF, &fb_dma_buf) == 0) in gralloc_alloc_framebuffer_locked()
|