Name

drm_crtc_vblank_get — 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, nonzero on failure.