---
name: "drm_vblank_get"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/drm_vblank_get"
---

# drm\_vblank\_get(9)

get a reference count on vblank events

## 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.

## AUTHORS

**Jesse Barnes** \<jesse.barnes@intel.com\>\
 Intel Corporation,

Initial version

**Laurent Pinchart** \<laurent.pinchart@ideasonboard.com\>\
 Ideas on board SPRL,

Driver internals

**Daniel Vetter** \<daniel.vetter@ffwll.ch\>\
 Intel Corporation,

Contributions all over the place

## COPYRIGHT
