diff options
author | Andy Walls <awalls@radix.net> | 2008-11-08 12:19:37 -0500 |
---|---|---|
committer | Andy Walls <awalls@radix.net> | 2008-11-08 12:19:37 -0500 |
commit | 6df1bdecf27c9e9b049e97e0b157eaf49e4208ed (patch) | |
tree | 4e3070a009c9b0433ffd5cba65a194c7aafa0afa /linux/drivers/media/video/cx18/cx18-io.c | |
parent | d2d260c5ae3e899c0f3d1482a4e58057c4031dbd (diff) | |
download | mediapointer-dvb-s2-6df1bdecf27c9e9b049e97e0b157eaf49e4208ed.tar.gz mediapointer-dvb-s2-6df1bdecf27c9e9b049e97e0b157eaf49e4208ed.tar.bz2 |
cx18: Further changes to improve mailbox protocol integrity & performnce
From: Andy Walls <awalls@radix.net>
All waits for cx18 mailbox API commands are now uninterruptable. Added
code to collect mailbox ack statistics. Tweaked timeouts based on collected
stats and video vertical frame and field rates.
Priority: normal
Signed-off-by: Andy Walls <awalls@radix.net>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-io.c')
-rw-r--r-- | linux/drivers/media/video/cx18/cx18-io.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-io.c b/linux/drivers/media/video/cx18/cx18-io.c index 0ad8dea3e..48a8adc83 100644 --- a/linux/drivers/media/video/cx18/cx18-io.c +++ b/linux/drivers/media/video/cx18/cx18-io.c @@ -37,6 +37,10 @@ void cx18_log_statistics(struct cx18 *cx) for (i = 0; i <= CX18_MAX_MMIO_RD_RETRIES; i++) CX18_DEBUG_INFO("retried_read[%d] = %d\n", i, atomic_read(&cx->mmio_stats.retried_read[i])); + for (i = 0; i <= CX18_MAX_MB_ACK_DELAY; i++) + if (atomic_read(&cx->mbox_stats.mb_ack_delay[i])) + CX18_DEBUG_INFO("mb_ack_delay[%d] = %d\n", i, + atomic_read(&cx->mbox_stats.mb_ack_delay[i])); return; } |