[media] v4l: videobuf2: add DMA coherent allocator
authorPawel Osciak <p.osciak@samsung.com>
Mon, 11 Oct 2010 13:59:36 +0000 (10:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:31:34 +0000 (20:31 -0300)
commit1a758d4e847f7743ac1b5aa79fde3ba2d8b5132b
treeb5f37565157d7dd16af460b00b19cafa1b01c966
parent3c18ff06d811f743d380e6436fac0143ffcf1266
[media] v4l: videobuf2: add DMA coherent allocator

Add an implementation of DMA coherent memory allocator and handling
routines for videobuf2, implemented on top of dma_alloc_coherent() call.

Signed-off-by: Pawel Osciak <p.osciak@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
CC: Pawel Osciak <pawel@osciak.com>
Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/Kconfig
drivers/media/video/Makefile
drivers/media/video/videobuf2-dma-contig.c [new file with mode: 0644]
include/media/videobuf2-dma-contig.h [new file with mode: 0644]