Lines Matching refs:vbl
73 drmVBlank vbl; in vblank_handler() local
78 vbl.request.type = DRM_VBLANK_RELATIVE | DRM_VBLANK_EVENT; in vblank_handler()
80 vbl.request.type |= DRM_VBLANK_SECONDARY; in vblank_handler()
81 vbl.request.sequence = 1; in vblank_handler()
82 vbl.request.signal = (unsigned long)data; in vblank_handler()
84 drmWaitVBlank(fd, &vbl); in vblank_handler()
109 drmVBlank vbl; in main() local
142 vbl.request.type = DRM_VBLANK_RELATIVE; in main()
144 vbl.request.type |= DRM_VBLANK_SECONDARY; in main()
145 vbl.request.sequence = 0; in main()
146 ret = drmWaitVBlank(fd, &vbl); in main()
152 printf("starting count: %d\n", vbl.request.sequence); in main()
158 vbl.request.type = DRM_VBLANK_RELATIVE | DRM_VBLANK_EVENT; in main()
160 vbl.request.type |= DRM_VBLANK_SECONDARY; in main()
161 vbl.request.sequence = 1; in main()
162 vbl.request.signal = (unsigned long)&handler_info; in main()
163 ret = drmWaitVBlank(fd, &vbl); in main()