drm_gem_prime_export(9) helper library implementation 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 and DRM_RDWR

DESCRIPTION

This is the implementation of the gem_prime_export functions for GEM drivers using the PRIME helpers.

AUTHORS

Jesse Barnes <[email protected]>
Intel Corporation,         
        

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,         
        

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,         
        

Contributions all over the place

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT