| /xsrc/external/mit/xf86-video-amdgpu/dist/src/ |
| H A D | amdgpu_dri2.c | 794 CARD64 current_msc = last_vblank_seq; local in function:amdgpu_dri2_extrapolate_msc_delay 798 current_msc += delta_seq / 1000000; 799 current_msc &= 0xffffffff; 801 *target_msc = current_msc; 805 current_msc - (current_msc % divisor) + remainder; 806 if ((current_msc % divisor) >= remainder) 953 CARD64 current_msc; local in function:amdgpu_dri2_schedule_wait_msc 997 current_msc = seq + msc_delta; 998 current_msc 1107 CARD64 current_msc, event_msc; local in function:amdgpu_dri2_schedule_swap [all...] |
| /xsrc/external/mit/xf86-video-ati-kms/dist/src/ |
| H A D | radeon_dri2.c | 892 CARD64 current_msc = last_vblank_seq; local in function:radeon_dri2_extrapolate_msc_delay 896 current_msc += delta_seq / 1000000; 897 current_msc &= 0xffffffff; 899 *target_msc = current_msc; 902 *target_msc = current_msc - (current_msc % divisor) + remainder; 903 if ((current_msc % divisor) >= remainder) 1050 CARD64 current_msc; local in function:radeon_dri2_schedule_wait_msc 1094 current_msc = seq + msc_delta; 1095 current_msc 1203 CARD64 current_msc, event_msc; local in function:radeon_dri2_schedule_swap [all...] |
| /xsrc/external/mit/xf86-video-nouveau/dist/src/ |
| H A D | nouveau_dri2.c | 810 CARD64 current_msc, expect_msc; local in function:nouveau_dri2_schedule_swap 825 ¤t_msc, ¤t_ust, NULL); 837 if (current_msc >= *target_msc && divisor) 838 *target_msc = current_msc + divisor 839 - (current_msc - remainder) % divisor; 846 if (current_msc >= *target_msc - 1) { 857 s->frame = 1 + ((unsigned int) current_msc & 0xffffffff); 858 *target_msc = 1 + current_msc; 859 nouveau_dri2_finish_swap(draw, current_msc, 892 max(current_msc, *target_ms 915 CARD64 current_msc; local in function:nouveau_dri2_schedule_wait [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/ |
| H A D | dri2.c | 708 CARD64 current_msc, current_ust, request_msc; local in function:ms_dri2_schedule_wait_msc 732 ret = ms_get_crtc_ust_msc(crtc, ¤t_ust, ¤t_msc); 735 * If divisor is zero, or current_msc is smaller than target_msc, 739 if (divisor == 0 || current_msc < target_msc) { 741 * current_msc to ensure we return a reasonable value back 752 if (current_msc >= target_msc) 753 target_msc = current_msc; 777 request_msc = current_msc - (current_msc % divisor) + 785 if ((current_msc 838 uint64_t current_msc, current_ust; local in function:ms_dri2_schedule_swap [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/test/ |
| H A D | dri2-test.c | 95 uint64_t current_msc, current_ust, current_sbc; local in function:check_msc 96 DRI2GetMSC(dpy, win, ¤t_ust, ¤t_msc, ¤t_sbc); 97 if (current_msc < last_msc) { 99 (long long)last_msc, (long long)current_msc); 101 return current_msc;
|
| /xsrc/external/mit/xf86-video-intel/dist/src/uxa/ |
| H A D | intel_dri.c | 1101 uint64_t current_msc, current_ust; local in function:I830DRI2ScheduleSwap 1131 ret = intel_get_crtc_msc_ust(scrn, crtc, ¤t_msc, ¤t_ust); 1141 current_msc >= *target_msc && 1158 * If divisor is zero, or current_msc is smaller than target_msc 1162 if (divisor == 0 || current_msc < *target_msc) { 1174 * current_msc to ensure we return a reasonable value back 1177 if (current_msc > *target_msc) 1178 *target_msc = current_msc; 1213 request_msc = current_msc - (current_msc 1325 CARD64 current_msc, current_ust, request_msc; local in function:I830DRI2ScheduleWaitMSC [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/uxa/ |
| H A D | intel_dri.c | 1093 uint64_t current_msc, current_ust; local in function:I830DRI2ScheduleSwap 1123 ret = intel_get_crtc_msc_ust(scrn, crtc, ¤t_msc, ¤t_ust); 1143 * If divisor is zero, or current_msc is smaller than target_msc 1147 if (divisor == 0 || current_msc < *target_msc) { 1153 if (flip && divisor == 0 && current_msc >= *target_msc && 1168 * current_msc to ensure we return a reasonable value back 1171 if (current_msc >= *target_msc) 1172 *target_msc = current_msc; 1205 request_msc = current_msc - (current_msc 1317 CARD64 current_msc, current_ust, request_msc; local in function:I830DRI2ScheduleWaitMSC [all...] |
| /xsrc/external/mit/xf86-video-ati/dist/src/ |
| H A D | radeon_dri2.c | 934 CARD64 current_msc; local in function:radeon_dri2_schedule_wait_msc 974 current_msc = vbl.reply.sequence; 977 * If divisor is zero, or current_msc is smaller than target_msc, 981 if (divisor == 0 || current_msc < target_msc) { 983 * current_msc to ensure we return a reasonable value back 988 if (current_msc >= target_msc) 989 target_msc = current_msc; 1013 vbl.request.sequence = current_msc - (current_msc % divisor) + 1022 if ((current_msc 1133 CARD64 current_msc; local in function:radeon_dri2_schedule_swap [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/ |
| H A D | sna_dri2.c | 2502 uint64_t *current_msc) 2505 *current_msc = -1; 2513 *current_msc = get_current_msc(sna, draw, crtc); 2515 DBG(("%s: current_msc=%ld, target_msc=%ld -- %s\n", 2516 __FUNCTION__, (long)*current_msc, (long)target_msc, 2517 (*current_msc >= target_msc - 1) ? "yes" : "no")); 2518 return *current_msc >= target_msc - 1; 2523 *current_msc = get_current_msc(sna, draw, crtc); 2535 uint64_t current_msc; local in function:sna_dri2_schedule_flip 2537 if (immediate_swap(sna, *target_msc, divisor, draw, crtc, ¤t_msc)) { 2497 immediate_swap(struct sna * sna,uint64_t target_msc,uint64_t divisor,DrawablePtr draw,xf86CrtcPtr crtc,uint64_t * current_msc) argument 2685 uint64_t current_msc; local in function:sna_dri2_schedule_xchg 2746 uint64_t current_msc; local in function:sna_dri2_schedule_xchg_crtc 2838 CARD64 current_msc; local in function:sna_dri2_schedule_swap 3071 CARD64 current_msc; local in function:sna_dri2_schedule_wait_msc [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/test/ |
| H A D | dri2-test.c | 101 uint64_t current_msc, current_ust, current_sbc; local in function:check_msc 102 DRI2GetMSC(dpy, win, ¤t_ust, ¤t_msc, ¤t_sbc); 103 if (current_msc < last_msc) { 105 (long long)last_msc, (long long)current_msc); 107 return current_msc;
|
| /xsrc/external/mit/xf86-video-intel/dist/src/sna/ |
| H A D | sna_dri2.c | 3057 uint64_t *current_msc) 3060 * If divisor is zero, or current_msc is smaller than target_msc 3065 *current_msc = -1; 3073 *current_msc = get_current_msc(sna, draw, crtc); 3075 DBG(("%s: current_msc=%ld, target_msc=%ld -- %s\n", 3076 __FUNCTION__, (long)*current_msc, (long)*target_msc, 3077 (*current_msc >= *target_msc - 1) ? "yes" : "no")); 3078 return *current_msc >= *target_msc - 1; 3083 *current_msc = get_current_msc(sna, draw, crtc); 3084 if (*current_msc > 3051 immediate_swap(struct sna * sna,DrawablePtr draw,xf86CrtcPtr crtc,uint64_t * target_msc,uint64_t divisor,uint64_t remainder,uint64_t * current_msc) argument 3104 sna_dri2_schedule_flip(ClientPtr client,DrawablePtr draw,xf86CrtcPtr crtc,DRI2BufferPtr front,DRI2BufferPtr back,bool immediate,CARD64 * target_msc,CARD64 current_msc,DRI2SwapEventPtr func,void * data) argument 3284 CARD64 current_msc; local in function:sna_dri2_schedule_swap 3532 CARD64 current_msc; local in function:sna_dri2_schedule_wait_msc [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/dri2/ |
| H A D | dri2.c | 796 CARD64 ust, current_msc; local in function:DRI2SwapBuffers 849 if (!(*ds->GetMSC)(pDraw, &ust, ¤t_msc)) 852 if (current_msc < pPriv->last_swap_target) 853 pPriv->last_swap_target = current_msc;
|
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/dri2/ |
| H A D | dri2.c | 1106 CARD64 ust, current_msc; local in function:DRI2SwapBuffers 1167 if (!(*ds->GetMSC) (pDraw, &ust, ¤t_msc)) 1170 if (current_msc < pPriv->last_swap_target) 1171 pPriv->last_swap_target = current_msc;
|