drm_crtc_vblank_get(9)

drm_crtc_vblank_get9

Get a reference count on vblank events

Usage

int drm_crtc_vblank_get(struct drm_crtc * crtc);

Arguments

crtc

which CRTC to own

Overview

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

This is the native kms version of drm_vblank_off.

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

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