---
name: "drm_gem_prime_export"
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_prime_export"
---

# drm\_gem\_prime\_export(9)

helper library implemention of the export callback

## NAME

drm\_gem\_prime\_export - helper library implemention of the export callback

## SYNOPSIS

**struct dma\_buf \* drm\_gem\_prime\_export(struct drm\_device \*** *dev***, struct drm\_gem\_object \*** *obj***, int** *flags***);**

## ARGUMENTS

*dev*

drm\_device to export from

*obj*

GEM object to export

*flags*

flags like DRM\_CLOEXEC

## DESCRIPTION

This is the implementation of the gem\_prime\_export functions for GEM drivers using the PRIME helpers.

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