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