linux/drivers/media/platform
Hans Verkuil d790b7eda9 [media] vb2-dma-sg: move dma_(un)map_sg here
This moves dma_(un)map_sg to the get_userptr/put_userptr and alloc/put
memops of videobuf2-dma-sg.c and adds dma_sync_sg_for_device/cpu to the
prepare/finish memops.

Now that vb2-dma-sg will sync the buffers for you in the prepare/finish
memops we can drop that from the drivers that use dma-sg.

For the solo6x10 driver that was a bit more involved because it needs to
copy JPEG or MPEG headers to the buffer before returning it to userspace,
and that cannot be done in the old place since the buffer there is still
setup for DMA access, not for CPU access. However, the buf_finish
op is the ideal place to do this. By the time buf_finish is called
the buffer is available for CPU access, so copying to the buffer is fine.

[mchehab@osg.samsung.com: Fix a compilation breakage:
 drivers/media/v4l2-core/videobuf2-dma-sg.c:150:19: error: 'struct vb2_dma_sg_buf' has no member named 'dma_sgt']

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Pawel Osciak <pawel@osciak.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2014-11-25 09:01:16 -02:00
..
blackfin [media] platform: Make use of media_bus_format enum 2014-11-14 17:54:08 -02:00
coda [media] coda: Unregister v4l2 upon alloc_workqueue() error 2014-11-03 17:55:22 -02:00
davinci [media] platform: Make use of media_bus_format enum 2014-11-14 17:54:08 -02:00
exynos4-is [media] platform: Make use of media_bus_format enum 2014-11-14 17:54:08 -02:00
exynos-gsc [media] platform: Make use of media_bus_format enum 2014-11-14 17:54:08 -02:00
marvell-ccic [media] vb2-dma-sg: move dma_(un)map_sg here 2014-11-25 09:01:16 -02:00
omap [media] omap: simplify test logic 2014-09-03 17:59:25 -03:00
omap3isp [media] platform: Make use of media_bus_format enum 2014-11-14 17:54:08 -02:00
s3c-camif [media] platform: Make use of media_bus_format enum 2014-11-14 17:54:08 -02:00
s5p-g2d [media] g2d: remove unused var 2014-08-26 18:52:11 -03:00
s5p-jpeg [media] s5p-jpeg: Avoid -Wuninitialized warning in s5p_jpeg_parse_hdr 2014-10-24 09:36:59 -02:00
s5p-mfc [media] s5p-mfc: fix sparse error 2014-11-05 08:29:27 -02:00
s5p-tv [media] platform: Make use of media_bus_format enum 2014-11-14 17:54:08 -02:00
soc_camera [media] platform: Make use of media_bus_format enum 2014-11-14 17:54:08 -02:00
ti-vpe [media] ti-vpe: fix sparse warnings 2014-11-05 09:09:26 -02:00
vivid [media] media: vivid: use vb2_ops_wait_prepare/finish helper 2014-11-25 08:12:30 -02:00
vsp1 [media] platform: Make use of media_bus_format enum 2014-11-14 17:54:08 -02:00
arv.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
fsl-viu.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
indycam.c
indycam.h
Kconfig [media] mem2mem_testdev: rename to vim2m 2014-10-28 13:49:13 -02:00
m2m-deinterlace.c [media] m2m-deinterlace: Convert to devm* API 2014-06-17 12:04:46 -03:00
Makefile [media] mem2mem_testdev: rename to vim2m 2014-10-28 13:49:13 -02:00
mx2_emmaprp.c [media] enable COMPILE_TEST for MX2 eMMa-PrP driver 2014-08-26 18:52:16 -03:00
sh_veu.c [media] sh_veu: Include media/v4l2-image-sizes.h 2014-08-21 15:25:37 -05:00
sh_vou.c [media] platform: Make use of media_bus_format enum 2014-11-14 17:54:08 -02:00
timblogiw.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
via-camera.c [media] platform: Make use of media_bus_format enum 2014-11-14 17:54:08 -02:00
via-camera.h
vim2m.c [media] mem2mem_testdev: rename to vim2m 2014-10-28 13:49:13 -02:00
vino.c [media] v4l: Support extending the v4l2_pix_format structure 2014-07-17 12:44:47 -03:00
vino.h