---
name: "drm_gem_prime_import"
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_import"
---

# drm\_gem\_prime\_import(9)

helper library implemention of the import callback

## NAME

drm\_gem\_prime\_import - helper library implemention of the import callback

## SYNOPSIS

**struct drm\_gem\_object \* drm\_gem\_prime\_import(struct drm\_device \*** *dev***, struct dma\_buf \*** *dma\_buf***);**

## ARGUMENTS

*dev*

drm\_device to import into

*dma\_buf*

dma-buf object to import

## DESCRIPTION

This is the implementation of the gem\_prime\_import 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
