From f9a46851208c03b661e6560c4d8383f64e642e01 Mon Sep 17 00:00:00 2001 From: Xindong Xu Date: Tue, 15 Aug 2017 18:39:20 +0800 Subject: [PATCH] dts: p230: add cma heap for ion [1/1] PD#146107: dts: p230: add cma heap for ion on Android 8.0 Change-Id: I37614c6d7417da9bf686295147739ad1d7ed1ef4 Signed-off-by: Xindong Xu --- arch/arm64/boot/dts/amlogic/gxl_p230_2g.dts | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/gxl_p230_2g.dts b/arch/arm64/boot/dts/amlogic/gxl_p230_2g.dts index 95bd344..7834988 100644 --- a/arch/arm64/boot/dts/amlogic/gxl_p230_2g.dts +++ b/arch/arm64/boot/dts/amlogic/gxl_p230_2g.dts @@ -63,13 +63,6 @@ reg = <0x0 0x05300000 0x0 0x2000000>; no-map; }; - fb_reserved:linux,meson-fb { - compatible = "shared-dma-pool"; - reusable; - size = <0x0 0x2000000>; - alignment = <0x0 0x400000>; - alloc-ranges = <0x0 0x7e000000 0x0 0x2000000>; - }; //di_reserved:linux,di { // compatible = "amlogic, di-mem"; @@ -86,8 +79,10 @@ }; ion_reserved:linux,ion-dev { - compatible = "amlogic, idev-mem"; - size = <0x0 0x0>; + compatible = "shared-dma-pool"; + reusable; + size = <0x0 0x2000000>; + alignment = <0x0 0x400000>; }; /* vdin0 CMA pool */ @@ -679,7 +674,6 @@ meson-fb { compatible = "amlogic, meson-fb"; - memory-region = <&fb_reserved>; dev_name = "meson-fb"; status = "okay"; interrupts = <0 3 1 -- 2.7.4