drm_vblank_count(9) retrieve cooked vblank counter value

SYNOPSIS

u32 drm_vblank_count(struct drm_device * dev, unsigned int pipe);

ARGUMENTS

dev

DRM device

pipe

index of CRTC for which to retrieve the counter

DESCRIPTION

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.

This is the legacy version of drm_crtc_vblank_count.

RETURNS

The software vblank counter.

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

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT