linux-stable/drivers/media
Hans Verkuil 251a79f8f5 [media] vb2: use dma_map_sg_attrs to prevent unnecessary sync
By default dma_map_sg syncs the mapped buffer to the device. But
buf_prepare expects a buffer syncs for the cpu and the buffer
will be synced to the device in the prepare memop.

The reverse is true for dma_unmap_sg, buf_finish and the finish
memop.

To prevent unnecessary syncs we ask dma_(un)map_sg to skip the
sync.

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:09:19 -02:00
..
common [media] v4l2-common: move v4l2_ctrl_check to cx2341x 2014-11-25 08:25:36 -02:00
dvb-core Merge tag 'v3.18-rc4' into patchwork 2014-11-11 08:37:35 -02:00
dvb-frontends [media] rtl2832: implement option to bypass slave demod TS 2014-11-21 16:03:39 -02:00
firewire [media] fix a warning on avr32 arch 2014-11-03 15:53:15 -02:00
i2c [media] i2c: Make use of media_bus_format enum 2014-11-14 17:52:48 -02:00
mmc
parport [media] pms: Fix a bad usage of the stack 2014-09-26 06:47:55 -03:00
pci [media] vb2-dma-sg: move dma_(un)map_sg here 2014-11-25 09:01:16 -02:00
platform [media] vim2m: support expbuf 2014-11-25 09:08:00 -02:00
radio [media] si4713: add device tree support 2014-11-14 18:08:19 -02:00
rc Merge tag 'v3.18-rc4' into patchwork 2014-11-11 08:37:35 -02:00
tuners [media] r820t: add DVB-C config 2014-11-14 17:28:00 -02:00
usb [media] uvcvideo: Return all buffers to vb2 at stream stop and start failure 2014-11-25 08:42:33 -02:00
v4l2-core [media] vb2: use dma_map_sg_attrs to prevent unnecessary sync 2014-11-25 09:09:19 -02:00
Kconfig [media] Kconfig: do not select SPI bus on sub-driver auto-select 2014-09-04 12:18:49 -03:00
Makefile
media-device.c [media] media: Use strlcpy instead of custom code 2014-09-21 20:27:08 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media: Fix a compiler warning in media_entity_pipeline_start() 2014-11-03 19:09:13 -02:00