Skip to contentSkip to conversation

ARM64: dts: meson-gx: increase default shared CMA pool size

PATCH Applied Christian Hewitt 2 participants 2 messages Sep 4, 2018 – Sep 13, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM64: dts: meson-gx: increase default shared CMA pool size

Devices using the new V4L2 mem2mem vdec require a larger CMA pool. As nearly all GX* devices are video/media focused and will use it, set a larger (256MB) default value.

---
 arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gx.dtsi +1 -1
index b8dc4db..ef43922 100644
@@ -44,7 +44,7 @@
 		linux,cma {
 			compatible = "shared-dma-pool";
 			reusable;
-			size = <0x0 0xbc00000>;
+			size = <0x0 0x10000000>;
 			alignment = <0x0 0x400000>;
 			linux,cma-default;
 		};
Signature · 1 line
2.7.4
maintainer Applied
#1 lore raw
Quoted 5 lines · Christian Hewitt

Devices using the new V4L2 mem2mem vdec require a larger CMA pool. As nearly all GX* devices are video/media focused and will use it, set a larger (256MB) default value.

Applied to v4.20/dt64,

Kevin