Lines Matching full:timestamp
39 /* Access macro for slots in vblank timestamp ringbuffer. */
44 /* Retry timestamp calculation up to 3 times to satisfy
82 * Clear vblank timestamp buffer for a crtc.
115 * vblank timestamp, repeat until they are consistent. in vblank_disable_and_save()
133 /* Compute time difference to stored timestamp of last vblank in vblank_disable_and_save()
141 * timestamp and tvblank, then we are currently executing our in vblank_disable_and_save()
142 * disable inside a new vblank interval, the tvblank timestamp in vblank_disable_and_save()
148 * Skip this step if there isn't any high precision timestamp in vblank_disable_and_save()
252 DRM_INFO("Supports vblank timestamp caching Rev 1 (10.10.2010).\n"); in drm_vblank_init()
256 DRM_INFO("Driver supports precise vblank timestamp query.\n"); in drm_vblank_init()
258 DRM_INFO("No driver support for vblank timestamp query.\n"); in drm_vblank_init()
455 * @crtc drm_crtc whose timestamp constants should be updated.
507 * extension specification. The timestamp corresponds to the end of
520 * @crtc: Which crtc's vblank timestamp to retrieve.
522 * On return contains true maximum error of timestamp.
523 * @vblank_time: Pointer to struct timeval which should receive the timestamp.
540 * DRM_VBLANKTIME_INVBL - Timestamp taken while scanout was in vblank interval.
584 /* Get current scanout position with system timestamp. in drm_calc_vbltimestamp_from_scanoutpos()
597 /* Get system timestamp before query. */ in drm_calc_vbltimestamp_from_scanoutpos()
603 /* Get system timestamp after query. */ in drm_calc_vbltimestamp_from_scanoutpos()
628 DRM_DEBUG("crtc %d: Noisy timestamp %d us > %d us [%d reps].\n", in drm_calc_vbltimestamp_from_scanoutpos()
632 /* Return upper bound of timestamp precision error. */ in drm_calc_vbltimestamp_from_scanoutpos()
653 * by adding a full frame duration to the final timestamp. in drm_calc_vbltimestamp_from_scanoutpos()
673 /* Subtract time delta from raw timestamp to get final in drm_calc_vbltimestamp_from_scanoutpos()
674 * vblank_time timestamp for end of vblank. in drm_calc_vbltimestamp_from_scanoutpos()
705 * drm_get_last_vbltimestamp - retrieve raw timestamp for the most recent
709 * @crtc: which crtc's vblank timestamp to retrieve
710 * @tvblank: Pointer to target struct timeval which should receive the timestamp
715 * Fetches the system timestamp corresponding to the time of the most recent
717 * compute the timestamp with a high-precision GPU specific method.
719 * Returns zero if timestamp originates from uncorrected do_gettimeofday()
722 * Returns non-zero if timestamp is considered to be very precise.
740 /* GPU high precision timestamp query unsupported or failed. in drm_get_last_vbltimestamp()
741 * Return current monotonic/gettimeofday timestamp as best estimate. in drm_get_last_vbltimestamp()
766 * and the system timestamp corresponding to that vblank counter value.
770 * @vblanktime: Pointer to struct timeval to receive the vblank timestamp.
774 * modesetting activity. Returns corresponding system timestamp of the time
783 /* Read timestamp from slot of _vblank_time ringbuffer in drm_vblank_count_and_time()
820 * Updates sequence # and timestamp on event, and sends it to userspace.
867 * We repeat the hardware vblank counter & timestamp query until in drm_update_vblank_count()
870 * corresponding vblank timestamp. in drm_update_vblank_count()
889 /* Reinitialize corresponding vblank timestamp if high-precision query in drm_update_vblank_count()
924 * All vblank count & timestamp updates are held off in drm_vblank_get()
1348 /* Need timestamp lock to prevent concurrent execution with in drm_handle_vblank()
1360 /* Fetch corresponding timestamp for this vblank interval from in drm_handle_vblank()
1361 * driver and store it in proper slot of timestamp ringbuffer. in drm_handle_vblank()
1364 /* Get current timestamp and count. */ in drm_handle_vblank()
1368 /* Compute time difference to timestamp of last vblank */ in drm_handle_vblank()
1372 /* Update vblank timestamp and count if at least in drm_handle_vblank()
1374 * difference between last stored timestamp and current in drm_handle_vblank()
1375 * timestamp. A smaller difference means basically in drm_handle_vblank()
1382 /* Store new timestamp in ringbuffer. */ in drm_handle_vblank()
1386 * the timestamp computed above. in drm_handle_vblank()