Converts a page array into an sg list
struct sg_table * drm_prime_pages_to_sg(struct page ** pages, int nr_pages);
pages
pointer to the array of page pointers to convert
nr_pages
length of the page vector
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.
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