On 08/04/2010 12:34 PM, Pawel Osciak wrote:
Richard Röjforsrichard.rojf...@pelagicore.com wrote:
On 08/04/2010 11:50 AM, Pawel Osciak wrote:
How do you propose to allocate the buffers? They need to be contiguous
and using uncached memory gave really bad performance.
829440 bytes is a quite
On 08/04/2010 09:55 AM, Pawel Osciak wrote:
Hi Richard,
Richard Röjfors wrote:
This patch adds another init functions in the videobuf-dma-contig
which is named _cached in the end. It creates a buffer factory
which allocates buffers using kmalloc and the buffers are cached.
Before I review
Richard Röjfors richard.rojf...@pelagicore.com wrote:
On 08/04/2010 11:50 AM, Pawel Osciak wrote:
How do you propose to allocate the buffers? They need to be contiguous
and using uncached memory gave really bad performance.
829440 bytes is a quite a lot and one can't reliably depend on
This patch adds another init functions in the videobuf-dma-contig
which is named _cached in the end. It creates a buffer factory
which allocates buffers using kmalloc and the buffers are cached.
A sync callback is added to sync the buffers.
Most of the code is reused from the uncached version a