Helper to clean up a prime-imported gem object
void drm_prime_gem_destroy(struct drm_gem_object * obj, struct sg_table * sg);
obj
GEM object which was created from a dma-buf
sg
the sg-table which was pinned at import time
This is the cleanup functions which GEM drivers need to call when they use drm_gem_prime_import to import dma-bufs.
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