carta
drm_vblank_count_and_time(9)

drm_vblank_count_and_time9

Retrieve “cooked” vblank counter value and the system timestamp corresponding to that vblank counter value.

Arguments

dev

DRM device

crtc

which counter to retrieve

vblanktime

Pointer to struct timeval to receive the vblank timestamp.

Overview

Fetches the “cooked” vblank count value that represents the number of vblank events since the system was booted, including lost events due to modesetting activity. Returns corresponding system timestamp of the time of the vblank interval that corresponds to the current vblank counter value.

Authors

Jesse Barnes <[email protected]>
Intel Corporation,

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,

Contributions all over the place

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.