diff options
author | Marko Ristola <marko.ristola@kolumbus.fi> | 2010-08-07 15:16:15 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-09-25 15:43:06 +0400 |
commit | 79d06d4dff733ee472e1f8933a33317a18195c0c (patch) | |
tree | dfede2845ccd5d1505e5fd5f60a0ad92be4e64a2 /drivers/media/dvb/mantis/mantis_common.h | |
parent | fa0d11873943b29d6c8f57a7d54f77d0439acfd9 (diff) | |
download | linux-79d06d4dff733ee472e1f8933a33317a18195c0c.tar.xz |
[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>
Diffstat (limited to 'drivers/media/dvb/mantis/mantis_common.h')
-rw-r--r-- | drivers/media/dvb/mantis/mantis_common.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/dvb/mantis/mantis_common.h b/drivers/media/dvb/mantis/mantis_common.h index 49dbca145bb8..f2410cf0a6bf 100644 --- a/drivers/media/dvb/mantis/mantis_common.h +++ b/drivers/media/dvb/mantis/mantis_common.h @@ -123,11 +123,8 @@ struct mantis_pci { unsigned int num; /* RISC Core */ - u32 finished_block; + u32 busy_block; u32 last_block; - u32 line_bytes; - u32 line_count; - u32 risc_pos; u8 *buf_cpu; dma_addr_t buf_dma; u32 *risc_cpu; |