]> 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)
commit0c81c479307f4f38093bd78a2ab71638970fe615
tree51e9e9d0110783e28c9bebdb82797abc8f1a8a4c
parent9b02ce0b4c35695d5b034fe25f6e61e04e9a2883
[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