All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: i.mx35 increase dma consistent region size
@ 2012-04-11 18:01 ` Alex Gershgorin
  0 siblings, 0 replies; 8+ messages in thread
From: Alex Gershgorin @ 2012-04-11 18:01 UTC (permalink / raw)
  To: linux-arm-kernel

The default size of the consistent DMA region is 2MB
without this patch, attempt to allocate more than 2MB
is causing allocation failure

Signed-off-by: Alex Gershgorin <alexg@meprolight.com>
---
 arch/arm/mach-imx/mm-imx3.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-imx/mm-imx3.c b/arch/arm/mach-imx/mm-imx3.c
index 7412738..a2c0c7d 100644
--- a/arch/arm/mach-imx/mm-imx3.c
+++ b/arch/arm/mach-imx/mm-imx3.c
@@ -201,6 +201,7 @@ static struct map_desc mx35_io_desc[] __initdata = {
 void __init mx35_map_io(void)
 {
 	iotable_init(mx35_io_desc, ARRAY_SIZE(mx35_io_desc));
+	init_consistent_dma_size(SZ_8M);
 }
 
 void __init imx35_init_early(void)
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-04-15 14:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-11 18:01 [PATCH] ARM: i.mx35 increase dma consistent region size Alex Gershgorin
2012-04-11 18:01 ` Alex Gershgorin
2012-04-13 14:40 ` Sascha Hauer
2012-04-13 14:40   ` Sascha Hauer
2012-04-13 15:11   ` Guennadi Liakhovetski
2012-04-13 15:11     ` Guennadi Liakhovetski
2012-04-15 14:15   ` Alex Gershgorin
2012-04-15 14:15     ` Alex Gershgorin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.