drm_gem_cma_prime_import_sg_table — produce a CMA GEM object from another driver's scatter/gather table of pinned pages
| struct drm_gem_object * drm_gem_cma_prime_import_sg_table ( | struct drm_device * dev, | 
| struct dma_buf_attachment * attach, | |
| struct sg_table * sgt ); | 
devdevice to import into
attachDMA-BUF attachment
sgtscatter/gather table of pinned pages
   This function imports a scatter/gather table exported via DMA-BUF by
   another driver. Imported buffers must be physically contiguous in memory
   (i.e. the scatter/gather table must contain a single entry). Drivers that
   use the CMA helpers should set this as their DRM driver's
   ->gem_prime_import_sg_table callback.