linux/drivers/media/pci
Hans Verkuil 453afdd9ce [media] cx23885: convert to vb2
As usual, this patch is very large due to the fact that half a vb2 conversion
isn't possible. And since this affects 417, alsa, core, dvb, vbi and video the
changes are all over.

What made this more difficult was the peculiar way the risc program was setup.
The driver allowed for running out of buffers in which case the DMA would stop
and restart when the next buffer was queued. There was also a complicated
timeout system for when buffers weren't filled. This was replaced by a much
simpler scheme where there is always one buffer around and the DMA will just
cycle that buffer until a new buffer is queued. In that case the previous
buffer will be chained to the new buffer. An interrupt is generated at the
start of the new buffer telling the driver that the previous buffer can be
passed on to userspace.

Much simpler and more robust. The old code seems to be copied from the
cx88 driver. But it didn't fit the vb2 ops very well and replacing it with
the new scheme made the code easier to understand. Not to mention that this
patch removes 600 lines of code.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-09-08 10:00:59 -03:00
..
b2c2 [media] pci: flexcop: Remove redundant pci_set_drvdata 2013-10-17 05:56:55 -03:00
bt8xx [media] bt8xx: just return 0 instead of using a var 2014-09-03 17:59:29 -03:00
cx18 [media] cx18: fix sparse warnings 2014-09-03 10:34:32 -03:00
cx88 [media] rc-core: rename dev->scanmask to dev->scancode_mask 2014-07-25 19:10:43 -03:00
cx23885 [media] cx23885: convert to vb2 2014-09-08 10:00:59 -03:00
cx25821 [media] cx25821: fix sparse warning 2014-09-03 10:32:02 -03: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] ivtv: fix sparse warnings 2014-09-03 10:34:13 -03: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] pci: pt1: Remove redundant pci_set_drvdata 2013-10-17 06:01:59 -03:00
saa7134 [media] media: saa7134: remove if based on uninitialized variable 2014-07-26 12:30:41 -03:00
saa7146 [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
saa7164 [media] saa7164: just return 0 instead of using a var 2014-09-03 17:59:29 -03:00
solo6x10 [media] solo6x10: fix sparse warnings 2014-09-03 08:55:39 -03:00
sta2x11 [media] be sure that HAS_DMA is enabled for vb2-dma-contig 2014-08-26 18:52:19 -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] tw68: make tw68_pci_tbl static and constify 2014-09-04 11:31:58 -03:00
zoran [media] lm3560: simplify a boolean test 2014-09-03 17:59:24 -03:00
Kconfig [media] tw68: refactor and cleanup the tw68 driver 2014-09-04 11:30:53 -03:00
Makefile [media] tw68: refactor and cleanup the tw68 driver 2014-09-04 11:30:53 -03:00