Name
drm_prime_gem_destroy —
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
Description
This is the cleanup functions which GEM drivers need to call when they use
drm_gem_prime_import
to import dma-bufs.