Name

drm_vblank_get — get a reference count on vblank events

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.