* Marek Szyprowski wrote: [...] > We already have dma_map_page() and dma_map_single() which are very similar. > Maybe adding dma_map_pages() won't be such a bad idea? > > If not maybe we should provide some kind of helper functions which converts > page array to scatterlist and then maps them.
drm_prime_pages_to_sg() seems to do exactly that. Thierry
pgp8KPs6RoTUC.pgp
Description: PGP signature
_______________________________________________ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss