drm_crtc_vblank_get(9) get a reference count on vblank events

SYNOPSIS

int drm_crtc_vblank_get(struct drm_crtc * crtc);

ARGUMENTS

crtc

which CRTC to own

DESCRIPTION

Acquire a reference count on vblank events to avoid having them disabled while in use.

This is the native kms version of drm_vblank_get.

RETURNS

Zero on success or a negative error code on failure.

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