linux_dsm_epyc7002/drivers/media/pci
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
..
b2c2 [media] pci: flexcop: Remove redundant pci_set_drvdata 2013-10-17 05:56:55 -03:00
bt8xx [media] bttv/cx25821/cx88/ivtv: use sg_next instead of sg++ 2014-11-25 08:12:53 -02:00
cx18 [media] pci: Make use of MEDIA_BUS_FMT definitions 2014-11-14 17:53:21 -02:00
cx88 [media] bttv/cx25821/cx88/ivtv: use sg_next instead of sg++ 2014-11-25 08:12:53 -02:00
cx23885 [media] vb2-dma-sg: move dma_(un)map_sg here 2014-11-25 09:01:16 -02:00
cx25821 [media] bttv/cx25821/cx88/ivtv: use sg_next instead of sg++ 2014-11-25 08:12:53 -02:00
ddbridge [media] ddbridge: fix sparse warnings 2014-09-03 09:35:03 -03:00
dm1105 [media] dm1105: fix sparse warning 2014-09-03 10:32:59 -03:00
ivtv [media] bttv/cx25821/cx88/ivtv: use sg_next instead of sg++ 2014-11-25 08:12:53 -02:00
mantis [media] mantis: fix sparse warnings 2014-09-03 09:38:44 -03:00
meye [media] v4l: Support extending the v4l2_pix_format structure 2014-07-17 12:44:47 -03:00
ngene [media] ngene: properly handle __user ptr 2014-09-08 10:00:52 -03:00
pluto2 [media] media_tree: Fix spelling errors 2013-12-09 14:50:50 -02:00
pt1 [media] media: earthsoft: logging neatening 2014-11-03 11:00:41 -02:00
pt3 [media] media: earthsoft: logging neatening 2014-11-03 11:00:41 -02:00
saa7134 [media] vb2-dma-sg: move dma_(un)map_sg here 2014-11-25 09:01:16 -02:00
saa7146 [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
saa7164 [media] saa7164: fix sparse warnings 2014-11-11 09:03:40 -02:00
smipcie [media] media: pci: smipcie: Fix dependency for DVB_SMIPCIE 2014-11-21 16:44:25 -02:00
solo6x10 [media] vb2-dma-sg: move dma_(un)map_sg here 2014-11-25 09:01:16 -02:00
sta2x11 [media] sta2x11_vip: fix address space casting 2014-09-26 06:47:53 -03:00
ttpci [media] media: ttpci: fix av7110 build to be compatible with CONFIG_INPUT_EVDEV 2014-08-21 15:25:38 -05:00
tw68 [media] vb2-dma-sg: move dma_(un)map_sg here 2014-11-25 09:01:16 -02:00
zoran [media] lm3560: simplify a boolean test 2014-09-03 17:59:24 -03:00
Kconfig [media] smipcie: SMI pcie bridge driver for DVBSky S950 V3 dvb-s/s2 cards 2014-11-03 18:06:45 -02:00
Makefile [media] smipcie: SMI pcie bridge driver for DVBSky S950 V3 dvb-s/s2 cards 2014-11-03 18:06:45 -02:00