* 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