From 63fbce00645702152d3cf67a7518b7b4fec4f686 Mon Sep 17 00:00:00 2001 From: Xianzhong Date: Thu, 19 Dec 2019 21:22:48 +0800 Subject: LF-531-2 arm64: dts: imx8mn: add cma setting Fix GPU AXI bus error when run WebGL 2.0 CTS, The original CMA size is 320MB, set with 640MB, This patch will align 8MN CMA size with L4.14. Signed-off-by: Xianzhong Reviewed-by: Dong Aisheng --- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'arch/arm64/boot/dts/freescale/imx8mn.dtsi') diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index dc1093812869..fb3c13da9242 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -154,6 +154,21 @@ reg = <0x0 0x40000000 0 0x80000000>; }; + resmem: reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* global autoconfigured region for contiguous allocations */ + linux,cma { + compatible = "shared-dma-pool"; + reusable; + size = <0 0x28000000>; + alloc-ranges = <0 0x40000000 0 0x60000000>; + linux,cma-default; + }; + }; + osc_32k: clock-osc-32k { compatible = "fixed-clock"; #clock-cells = <0>; -- cgit v1.2.3