]> git.baikalelectronics.ru Git - kernel.git/commit
[media] videobuf2-dma-contig: allow to vmap contiguous dma buffers
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 26 May 2014 14:17:32 +0000 (11:17 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 4 Jul 2014 19:13:21 +0000 (16:13 -0300)
commiteb1eeedcf054b1b9392a88e93d1c361161b37b44
tree51e9e9d0110783e28c9bebdb82797abc8f1a8a4c
parent4a67b3dc7bf9b2d0809ce30f223dd06177268cbc
[media] videobuf2-dma-contig: allow to vmap contiguous dma buffers

This allows drivers to vmap contiguous dma buffers so they can inspect the
buffer contents with the CPU. This will be needed for the CODA driver's JPEG
handling. On CODA960, the header parsing has to be done on the CPU. The
hardware modules can only process the entropy coded segment after all
registers and tables are set up.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/v4l2-core/videobuf2-dma-contig.c