[GIT PULL FOR v3.19] vb2: improvements

2014-11-24 Thread Hans Verkuil
Repost due to a dumb bug that was introduced in vb2_dma_sg_get_userptr and which is now fixed. - Add allocation context to dma-sg and have vb2 do the dma mapping instead of the driver. This makes it consistent with the way dma-contig behaves and simplifies drivers. - Add support for DMABUF

[GIT PULL FOR v3.19] vb2: improvements

2014-11-23 Thread Hans Verkuil
- Add allocation context to dma-sg and have vb2 do the dma mapping instead of the driver. This makes it consistent with the way dma-contig behaves and simplifies drivers. - Add support for DMABUF import to dma-sg. - Add support for DMABUF export to dma-sg and dma-vmalloc. - Clarify (and fix)