Lines Matching defs:vbl
68 static inline int sna_wait_vblank(struct sna *sna, union drm_wait_vblank *vbl, int pipe)
71 __FUNCTION__, pipe, vbl->request.sequence,
72 vbl->request.type & DRM_VBLANK_RELATIVE ? " [relative]" : ""));
73 vbl->request.type |= pipe_select(pipe);
74 return drmIoctl(sna->kgem.fd, DRM_IOCTL_WAIT_VBLANK, vbl);
103 union drm_wait_vblank vbl;
107 VG_CLEAR(vbl);
108 vbl.request.type = DRM_VBLANK_RELATIVE;
109 vbl.request.sequence = 0;
110 if (sna_wait_vblank(sna, &vbl, pipe) == 0) {
111 *ust = ust64(vbl.reply.tval_sec, vbl.reply.tval_usec);
112 *msc = sna_crtc_record_vblank(crtc->devPrivate, &vbl);
146 union drm_wait_vblank vbl;
159 VG_CLEAR(vbl);
160 vbl.request.type = DRM_VBLANK_ABSOLUTE | DRM_VBLANK_EVENT;
161 vbl.request.sequence = msc;
162 vbl.request.signal = (uintptr_t)MARK_PRESENT(event);
163 if (sna_wait_vblank(sna, &vbl, sna_crtc_to_pipe(event->crtc))) {