other versions
- jessie 3.16.56-1+deb8u1
DRM_PRIME_PAGES_TO_S(9) | DRM Core | DRM_PRIME_PAGES_TO_S(9) |
NAME¶
drm_prime_pages_to_sg - converts a page array into an sg listSYNOPSIS¶
struct sg_table *
drm_prime_pages_to_sg(struct page ** pages,
int nr_pages);
ARGUMENTS¶
pagespointer 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 <jesse.barnes@intel.com>Initial version
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Driver internals
Daniel Vetter <daniel.vetter@ffwll.ch>
Contributions all over the place
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |