| /xsrc/external/mit/libdrm/dist/tests/vbltest/ |
| vbltest.c | 60 drmVBlank vbl; local 65 vbl.request.type = DRM_VBLANK_RELATIVE | DRM_VBLANK_EVENT; 67 vbl.request.type |= DRM_VBLANK_SECONDARY; 68 vbl.request.sequence = 1; 69 vbl.request.signal = (unsigned long)data; 71 drmWaitVBlank(fd, &vbl); 100 drmVBlank vbl; local 127 vbl.request.type = DRM_VBLANK_RELATIVE; 129 vbl.request.type |= DRM_VBLANK_SECONDARY; 130 vbl.request.sequence = 0 [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/ |
| sna_present.c | 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; local 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) 146 union drm_wait_vblank vbl; local [all...] |
| sna_dri2.c | 1173 static inline int sna_wait_vblank(struct sna *sna, union drm_wait_vblank *vbl, int pipe) 1176 __FUNCTION__, pipe, vbl->request.sequence, 1177 vbl->request.type & DRM_VBLANK_RELATIVE ? " [relative]" : "")); 1180 vbl->request.type |= pipe_select(pipe); 1181 return drmIoctl(sna->kgem.fd, DRM_IOCTL_WAIT_VBLANK, vbl); 2016 union drm_wait_vblank vbl; local 2038 VG_CLEAR(vbl); 2039 vbl.request.type = 2042 vbl.request.sequence = 1; 2043 vbl.request.signal = (uintptr_t)chain 2107 union drm_wait_vblank vbl; local 2132 union drm_wait_vblank vbl; local 2261 union drm_wait_vblank vbl; local 2359 union drm_wait_vblank vbl; local 2440 union drm_wait_vblank vbl; local 2654 union drm_wait_vblank vbl; local 2713 union drm_wait_vblank vbl; local 2774 union drm_wait_vblank vbl; local 2834 union drm_wait_vblank vbl; local 3039 union drm_wait_vblank vbl; local 3072 union drm_wait_vblank vbl; local [all...] |
| sna_display.c | 7497 struct drm_event_vblank *vbl = (struct drm_event_vblank *)e; local 7498 struct sna_crtc *crtc = (void *)(uintptr_t)vbl->user_data; 7503 crtc->swap.tv_sec = vbl->tv_sec; 7504 crtc->swap.tv_usec = vbl->tv_usec; 7505 crtc->swap.msc = msc64(crtc, vbl->sequence); 7536 crtc->flip_handler(vbl, crtc->flip_data);
|
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/uxa/ |
| intel_present.c | 167 drmVBlank vbl; local 183 vbl.request.type = DRM_VBLANK_ABSOLUTE | DRM_VBLANK_EVENT | pipe_select(pipe); 184 vbl.request.sequence = intel_crtc_msc_to_sequence(scrn, xf86_crtc, msc); 185 vbl.request.signal = seq; 187 ret = drmWaitVBlank(intel->drmSubFD, &vbl); 194 (long long) event_id, seq, (long long) msc, vbl.request.sequence));
|
| intel_dri.c | 1086 drmVBlank vbl; local 1157 vbl.request.type = 1165 vbl.request.type |= DRM_VBLANK_NEXTONMISS; 1178 vbl.request.sequence = intel_crtc_msc_to_sequence(scrn, crtc, *target_msc); 1179 vbl.request.signal = seq; 1181 ret = drmWaitVBlank(intel->drmSubFD, &vbl); 1189 *target_msc = intel_sequence_to_crtc_msc(crtc, vbl.reply.sequence + flip); 1200 vbl.request.type = 1203 vbl.request.type |= DRM_VBLANK_NEXTONMISS; 1209 * If the calculated deadline vbl.request.sequence is smaller tha 1313 drmVBlank vbl; local [all...] |
| intel_display.c | 1891 drmVBlank vbl; local 1894 vbl.request.type = DRM_VBLANK_RELATIVE | pipe_select(intel_crtc_to_pipe(crtc)); 1895 vbl.request.sequence = 0; 1896 vbl.request.signal = 0; 1897 if (drmWaitVBlank(intel->drmSubFD, &vbl)) { 1902 *msc = vbl.reply.sequence; 1903 *ust = (CARD64) vbl.reply.tval_sec * 1000000 + vbl.reply.tval_usec;
|
| /xsrc/external/mit/xf86-video-intel/dist/src/uxa/ |
| intel_present.c | 167 drmVBlank vbl; local 183 vbl.request.type = DRM_VBLANK_ABSOLUTE | DRM_VBLANK_EVENT | pipe_select(pipe); 184 vbl.request.sequence = intel_crtc_msc_to_sequence(scrn, xf86_crtc, msc); 185 vbl.request.signal = seq; 187 ret = drmWaitVBlank(intel->drmSubFD, &vbl); 194 (long long) event_id, seq, (long long) msc, vbl.request.sequence));
|
| intel_dri.c | 934 drmVBlank vbl; local 939 vbl.request.type = 943 vbl.request.sequence = 1; 944 vbl.request.signal = 948 if (vbl.request.signal == 0) 952 if (drmWaitVBlank(intel->drmSubFD, &vbl)) { 953 intel_drm_abort_seq(intel->scrn, vbl.request.signal); 1095 drmVBlank vbl; local 1163 vbl.request.type = 1171 vbl.request.type |= DRM_VBLANK_NEXTONMISS 1321 drmVBlank vbl; local [all...] |
| intel_display.c | 1938 drmVBlank vbl; local 1941 vbl.request.type = DRM_VBLANK_RELATIVE | pipe_select(intel_crtc_to_pipe(crtc)); 1942 vbl.request.sequence = 0; 1943 vbl.request.signal = 0; 1944 if (drmWaitVBlank(intel->drmSubFD, &vbl)) { 1949 *msc = vbl.reply.sequence; 1950 *ust = (CARD64) vbl.reply.tval_sec * 1000000 + vbl.reply.tval_usec;
|
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/ |
| vblank.c | 231 drmVBlank vbl; local 248 vbl.request.type = DRM_VBLANK_RELATIVE | drmmode_crtc->vblank_pipe; 249 vbl.request.sequence = 0; 250 vbl.request.signal = 0; 251 ret = drmWaitVBlank(ms->fd, &vbl); 257 *msc = vbl.reply.sequence; 258 *ust = (CARD64) vbl.reply.tval_sec * 1000000 + vbl.reply.tval_usec; 271 drmVBlank vbl; local 301 vbl.request.type = DRM_VBLANK_EVENT | drmmode_crtc->vblank_pipe [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/src/sna/ |
| sna_present.c | 122 static inline int sna_wait_vblank(struct sna *sna, union drm_wait_vblank *vbl, int pipe) 125 __FUNCTION__, pipe, vbl->request.sequence, 126 vbl->request.type & DRM_VBLANK_RELATIVE ? " [relative]" : "")); 127 vbl->request.type |= pipe_select(pipe); 128 return drmIoctl(sna->kgem.fd, DRM_IOCTL_WAIT_VBLANK, vbl); 222 union drm_wait_vblank vbl; local 228 VG_CLEAR(vbl); 229 vbl.request.type = DRM_VBLANK_RELATIVE; 230 vbl.request.sequence = 0; 231 if (sna_wait_vblank(info->sna, &vbl, sna_crtc_pipe(info->crtc)) == 0) 323 union drm_wait_vblank vbl; local 380 union drm_wait_vblank vbl; local 423 union drm_wait_vblank vbl; local [all...] |
| sna_dri2.c | 1470 union drm_wait_vblank vbl; local 1476 VG_CLEAR(vbl); 1477 vbl.request.type = 1481 vbl.request.sequence = 1; 1482 vbl.request.signal = (uintptr_t)info; 1485 if (drmIoctl(info->sna->kgem.fd, DRM_IOCTL_WAIT_VBLANK, &vbl)) 1495 union drm_wait_vblank vbl; local 1501 VG_CLEAR(vbl); 1502 vbl.request.type = 1506 vbl.request.sequence = seq 2995 union drm_wait_vblank vbl; local 3497 union drm_wait_vblank vbl; local [all...] |
| sna_display.c | 9561 struct drm_event_vblank *vbl = (struct drm_event_vblank *)e; local 9562 struct sna_crtc *crtc = (void *)(uintptr_t)vbl->user_data; 9568 if (msc64(crtc, vbl->sequence, &msc)) { 9570 __FUNCTION__, __sna_crtc_pipe(crtc), vbl->sequence, (long long)msc, vbl->tv_sec, vbl->tv_usec)); 9571 crtc->swap.tv_sec = vbl->tv_sec; 9572 crtc->swap.tv_usec = vbl->tv_usec; 9611 crtc->flip_handler(vbl, crtc->flip_data);
|
| /xsrc/external/mit/xf86-video-ati/dist/src/ |
| radeon_dri2.c | 891 drmVBlank vbl; local 901 vbl.request.type = DRM_VBLANK_RELATIVE; 902 vbl.request.type |= populate_vbl_request_type(info, crtc); 903 vbl.request.sequence = 0; 905 ret = drmWaitVBlank(info->dri2.drm_fd, &vbl); 912 *ust = ((CARD64)vbl.reply.tval_sec * 1000000) + vbl.reply.tval_usec; 913 *msc = vbl.reply.sequence; 932 drmVBlank vbl; local 964 vbl.request.type = DRM_VBLANK_RELATIVE 1129 drmVBlank vbl; local [all...] |
| /xsrc/external/mit/xf86-video-nouveau/dist/src/ |
| nouveau_dri2.c | 595 drmVBlank vbl; local 638 vbl.request.type = type; 639 vbl.request.sequence = msc; 640 vbl.request.signal = (unsigned long)token; 642 ret = drmWaitVBlank(pNv->dev->fd, &vbl); 652 *pmsc = vbl.reply.sequence; 654 *pust = (CARD64)vbl.reply.tval_sec * 1000000 + 655 vbl.reply.tval_usec;
|
| /xsrc/external/mit/xf86-video-amdgpu/dist/src/ |
| drmmode_display.c | 166 drmVBlank vbl; local 174 vbl.request.type = type; 175 vbl.request.sequence = target_seq; 176 vbl.request.signal = signal; 178 if (drmWaitVBlank(pAMDGPUEnt->fd, &vbl) != 0) 182 *ust = (uint64_t)vbl.reply.tval_sec * 1000000 + 183 vbl.reply.tval_usec; 185 *result_seq = vbl.reply.sequence;
|
| /xsrc/external/mit/xf86-video-ati-kms/dist/src/ |
| drmmode_display.c | 225 drmVBlank vbl; local 233 vbl.request.type = type; 234 vbl.request.sequence = target_seq; 235 vbl.request.signal = signal; 237 if (drmWaitVBlank(pRADEONEnt->fd, &vbl) != 0) 241 *ust = (uint64_t)vbl.reply.tval_sec * 1000000 + 242 vbl.reply.tval_usec; 244 *result_seq = vbl.reply.sequence;
|