drm_vblank_get(9) get a reference count on vblank events

SYNOPSIS

int drm_vblank_get(struct drm_device * dev, unsigned int pipe);

ARGUMENTS

dev

DRM device

pipe

index of CRTC to own

DESCRIPTION

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

This is the legacy version of drm_crtc_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