linux/drivers/media/pci
Ezequiel Garcia f8afaa8dbc [media] tw686x: Introduce an interface to support multiple DMA modes
Let's set the corner stone to support all the DMA modes
available on this device.

For stability reasons, the driver is currently setting DMA frame
mode, and using single DMA buffers to get the P and B buffers.
Each frame is then memcpy'ed into the user buffer.

However, other platforms might be interested in avoiding this
memcpy, or in taking advantage of the chip's DMA scatter-gather
capabilities.

To achieve this, this commit introduces a "dma_mode" module parameter,
and a tw686x_dma_ops struct. This will allow to define functions to
alloc/free DMA buffers, and to return the frames to userspace.

The memcpy-based method described above is named as dma_mode="memcpy".
Current alloc/free functions are renamed as tw686x_memcpy_xxx,
and are now used through a memcpy_dma_ops.

Tested-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-06-28 07:47:40 -03:00
..
b2c2 [media] media: change email address 2016-01-25 12:01:08 -02:00
bt8xx [media] bttv: Width must be a multiple of 16 when capturing planar formats 2016-03-01 10:36:24 -03:00
cobalt [media] cobalt: add MTD dependency 2016-04-13 17:08:51 -03:00
cx18 cx18: use macros instead of static const vars 2016-06-24 08:50:24 -03:00
cx88 [media] add media controller support to videobuf2-dvb 2016-02-10 07:23:41 -02:00
cx23885 [media] cx23885: uninitialized variable in cx23885_av_work_handler() 2016-04-13 17:10:32 -03:00
cx25821 cx25821-alsa: shutup a Gcc 6.1 warning 2016-06-24 09:46:54 -03:00
ddbridge [media] constify stv6110x_devctl structure 2016-02-01 07:31:17 -02:00
dm1105
dt3155 [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
ivtv [media] ivtv/cx18: use the new mask variants of the v4l2_device_call_* defines 2016-04-20 16:09:31 -03:00
mantis
meye
netup_unidvb [media] Change frontend allocation strategy for NetUP Universal DVB cards 2016-06-07 12:16:37 -03:00
ngene [media] constify stv6110x_devctl structure 2016-02-01 07:31:17 -02:00
pluto2
pt1
pt3 [media] pt3: fix device identification 2016-03-01 12:01:45 -03:00
saa7134 [media] saa7134: fix warning with !MEDIA_CONTROLLER 2016-03-03 14:12:46 -03:00
saa7146
saa7164
smipcie [media] smipcie: add RC map into card configuration options 2016-05-07 10:27:18 -03:00
solo6x10 [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
sta2x11 [media] sta2x11: remove unused vars 2016-04-25 08:13:43 -03:00
ttpci [media] ttpci: cleanup a bogus smatch warning 2016-02-23 07:26:22 -03:00
tw68 [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
tw686x [media] tw686x: Introduce an interface to support multiple DMA modes 2016-06-28 07:47:40 -03:00
zoran zr36016: remove some unused tables 2016-06-24 12:02:11 -03:00
Kconfig [media] media: Support Intersil/Techwell TW686x-based video capture cards 2016-04-20 13:37:32 -03:00
Makefile [media] media: Support Intersil/Techwell TW686x-based video capture cards 2016-04-20 13:37:32 -03:00