Re: [PATCH 1/2] media: Add timberdale video-in driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Richard Röjfors
Date: Sunday, April 25, 2010 - 9:01 am

On 04/25/2010 05:24 PM, Mauro Carvalho Chehab wrote:

1. dma_sg can not be used, the DMA engine requires the memory blocks to be aligned on a factor of 
bytes per line, so 4K pages wouldn't work.

2.
I tried using videobuf-dma-contig, but got poor performance. I can not really explain why, I though 
it's due to the fact that the contiguous buffer is allocated coherent -> no caching.
I saw both gstreamer and mplayer perform very badly.
The frame grabber requires the DMA transfer for a frame beeing started while the frame is decoded. 
When I tested using contigous buffers gstreamer sometimes was that slow that it sometimes missed to 
have a frame queued when a transfer was finished, so I got frame drops. Any other ideas of the poor 
performance? otherwise I would like to go for the double buffered solution.

Thanks
--Richard
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] media: Add timberdale video-in driver, Richard Röjfors, (Fri Apr 16, 9:28 am)
Re: [PATCH 1/2] media: Add timberdale video-in driver, Mauro Carvalho Chehab, (Sun Apr 25, 8:24 am)
Re: [PATCH 1/2] media: Add timberdale video-in driver, Richard Röjfors, (Sun Apr 25, 9:01 am)
Re: [PATCH 1/2] media: Add timberdale video-in driver, Mauro Carvalho Chehab, (Sun Apr 25, 9:13 am)
Re: [PATCH 1/2] media: Add timberdale video-in driver, Richard Röjfors, (Wed May 26, 7:19 am)