mirror of
https://github.com/torvalds/linux.git
synced 2024-12-16 08:02:17 +00:00
453afdd9ce
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> |
||
---|---|---|
.. | ||
b2c2 | ||
bt8xx | ||
cx18 | ||
cx88 | ||
cx23885 | ||
cx25821 | ||
ddbridge | ||
dm1105 | ||
ivtv | ||
mantis | ||
meye | ||
ngene | ||
pluto2 | ||
pt1 | ||
saa7134 | ||
saa7146 | ||
saa7164 | ||
solo6x10 | ||
sta2x11 | ||
ttpci | ||
tw68 | ||
zoran | ||
Kconfig | ||
Makefile |