• Hans Verkuil's avatar
    V4L/DVB (6047): ivtv: Fix scatter/gather DMA timeouts · 37093b1e
    Hans Verkuil authored
    It turns out that the cx23415/6 DMA engine cannot do scatter/gather DMA
    reliably. Every so often depending on the phase of the moon and your
    hardware configuration the cx2341x DMA engine simply chokes on it and
    you have to reboot to get it working again.
    
    This change replaced the scatter/gather DMA by single transfers at a time,
    where the driver is now responsible for DMA-ing each buffer.
    
    UDMA is still done using scatter/gather DMA, that will be fixed soon.
    
    Many thanks to Mark Bryars <mark.bryars@etvinteractive.com> for discovering
    the link between scatter/gather and the DMA timeouts.
    Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
    37093b1e
ivtv-queue.h 3.08 KB