[media] Refactor Mantis DMA transfer to deliver 16Kb TS data per interrupt
authorMarko Ristola <marko.ristola@kolumbus.fi>
Sat, 7 Aug 2010 11:16:15 +0000 (08:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 25 Sep 2011 11:43:06 +0000 (08:43 -0300)
commit79d06d4dff733ee472e1f8933a33317a18195c0c
treedfede2845ccd5d1505e5fd5f60a0ad92be4e64a2
parentfa0d11873943b29d6c8f57a7d54f77d0439acfd9
[media] Refactor Mantis DMA transfer to deliver 16Kb TS data per interrupt

With VDR streaming HDTV into network, generating an interrupt once per 16kb,
implemented in this patch, seems to support more robust throughput with HDTV.

Fix leaking almost 64kb data from the previous TS after changing the TS.
One effect of the old version was, that the DMA transfer and driver's
DMA buffer access might happen at the same time - a race condition.

Signed-off-by: Marko M. Ristola <marko.ristola@kolumbus.fi>
Reviewed-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/mantis/hopper_cards.c
drivers/media/dvb/mantis/mantis_cards.c
drivers/media/dvb/mantis/mantis_common.h
drivers/media/dvb/mantis/mantis_dma.c