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.
AUTHORS
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
Lukas Wunner <[email protected]>
- vga_switcheroo documentation
COPYRIGHT