---
name: "drm_gem_dumb_destroy"
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_gem_dumb_destroy"
---

# drm\_gem\_dumb\_destroy(9)

dumb fb callback helper for gem based drivers

## NAME

drm\_gem\_dumb\_destroy - dumb fb callback helper for gem based drivers

## SYNOPSIS

**int drm\_gem\_dumb\_destroy(struct drm\_file \*** *file***, struct drm\_device \*** *dev***, uint32\_t** *handle***);**

## ARGUMENTS

*file*

drm file-private structure to remove the dumb handle from

*dev*

corresponding drm\_device

*handle*

the dumb handle to remove

## DESCRIPTION

This implements the -\>dumb\_destroy kms driver callback for drivers which use gem to manage their backing storage.

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