carta
drm_prime_gem_destroy(9)

drm_prime_gem_destroy9

Helper to clean up a prime-imported gem object

Arguments

obj

GEM object which was created from a dma-buf

sg

the sg-table which was pinned at import time

Overview

This is the cleanup functions which GEM drivers need to call when they use drm_gem_prime_import to import dma-bufs.

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

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.