SYNOPSIS

int drm_vblank_get(struct drm_device * dev, int crtc);

ARGUMENTS

dev

DRM device

crtc

which 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, nonzero 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

COPYRIGHT