[RFC 4/4] drm: Add NVIDIA Tegra support

Thierry Reding thierry.reding at avionic-design.de
Thu Apr 12 06:34:46 PDT 2012


* 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120412/3b69494d/attachment.pgp>


More information about the dri-devel mailing list