Size of dma_alloc_writecombine.

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Nov 10 08:49:13 EST 2010


On Wed, Nov 10, 2010 at 02:35:09PM +0530, vipul samar wrote:
> Hello,
> 
> I am working on LCD module of resolution size 1024X768. When i am allocating
> memory for frame buffer using dma_alloc_writecombine call its not able to
> allocate memory more then 2MB memory. The Reason is the maximum size
> allocated by  dma_alloc_writecombine is 2 MB.

In your mach/memory.h, define CONSISTENT_DMA_SIZE to be a multiple of 2MB.
This sets the size of the DMA area.



More information about the linux-arm-kernel mailing list