diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-09-20 09:22:18 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-11-03 08:26:33 -0200 |
commit | 0b6b6302d983236f8b5d6d6602b91a6d1e144896 (patch) | |
tree | 69e9d0bad9ec0c029250bcc7df2a91181a1d9a58 /drivers/misc/phantom.c | |
parent | b2c75abde0debfb824f72845c3ed77d4b66798a0 (diff) | |
download | linux-0b6b6302d983236f8b5d6d6602b91a6d1e144896.tar.bz2 |
[media] cx88: 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 blackbird, 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.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/misc/phantom.c')
0 files changed, 0 insertions, 0 deletions