Reference

drm_prime_gem_destroy(9)

helper to clean up a PRIME-imported GEM object

NAME

drm_prime_gem_destroy - helper to clean up a PRIME-imported GEM object

SYNOPSIS

void drm_prime_gem_destroy(struct drm_gem_object * obj, struct sg_table * sg);

ARGUMENTS

obj

GEM object which was created from a dma-buf

sg

the sg-table which was pinned at import time

DESCRIPTION

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

COPYRIGHT