---
name: "drm_dev_unref"
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_dev_unref"
---

# drm\_dev\_unref(9)

Drop reference of a DRM device

## NAME

drm\_dev\_unref - Drop reference of a DRM device

## SYNOPSIS

**void drm\_dev\_unref(struct drm\_device \*** *dev***);**

## ARGUMENTS

*dev*

device to drop reference of or NULL

## DESCRIPTION

This decreases the ref-count of *dev* by one. The device is destroyed if the ref-count drops to zero.

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