Name
drm_prime_pages_to_sg —
converts a page array into an sg list
Synopsis
struct sg_table * drm_prime_pages_to_sg ( | struct page ** pages, |
| unsigned int nr_pages) ; |
Arguments
pages
pointer to the array of page pointers to convert
nr_pages
length of the page vector
Description
This helper creates an sg table object from a set of pages
the driver is responsible for mapping the pages into the
importers address space for use with dma_buf itself.