Skip to contentSkip to conversation

arm: increase FORCE_MAX_ZONEORDER for TI AM33XX

PATCH New yegorslists at googlemail.com 2 participants 2 messages Sep 25, 2012 – Oct 8, 2012 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: increase FORCE_MAX_ZONEORDER for TI AM33XX

From: Yegor Yefremov <[email protected]>

FORCE_MAX_ZONEORDER of 12 is needed to allocation more than 4MB of consistent DMA memory (da8xx frame buffer driver).

---
 arch/arm/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/Kconfig +1 -0
index 2f88d8d..06d489e 100644
@@ -1768,6 +1768,7 @@ source "mm/Kconfig"
 config FORCE_MAX_ZONEORDER
 	int "Maximum zone order" if ARCH_SHMOBILE
 	range 11 64 if ARCH_SHMOBILE
+	default "12" if SOC_AM33XX
 	default "9" if SA1111
 	default "11"
 	help
Signature · 1 line
1.7.7
#1 lore raw

PATCH 1/1 arm: increase FORCE_MAX_ZONEORDER for TI AM33XX

Quoted 7 lines · yegorslists at googlemail.com

From: Yegor Yefremov <[email protected]>

FORCE_MAX_ZONEORDER of 12 is needed to allocation more than 4MB of consistent DMA memory (da8xx frame buffer driver).

Thanks for updating this, applying this into omap fixes.

Regards,

Tony

Quoted 16 lines
---
 arch/arm/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/Kconfig +1 -0
index 2f88d8d..06d489e 100644
@@ -1768,6 +1768,7 @@ source "mm/Kconfig"
 config FORCE_MAX_ZONEORDER
 	int "Maximum zone order" if ARCH_SHMOBILE
 	range 11 64 if ARCH_SHMOBILE
+	default "12" if SOC_AM33XX
 	default "9" if SA1111
 	default "11"
 	help