drm_vblank_get
Prev | Vertical Blanking and Interrupt Handling Functions Reference | Next

## Name

drm_vblank_get — 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.

Prev | Up | Next
drm_crtc_send_vblank_event | Home | drm_crtc_vblank_get