From 66fb88627026fe02cbde091ed63efe150b9822da Mon Sep 17 00:00:00 2001 From: "keke.li" Date: Mon, 3 Sep 2018 16:55:58 +0800 Subject: [PATCH] gdc: add gdc reserved memory PD#173042: gdc: add gdc reserved memory Change-Id: I1463fe2fba58b2d72a0b616352d81ff98e49b0b4 Signed-off-by: Keke Li --- arch/arm64/boot/dts/amlogic/g12b_a311d_skt.dts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/g12b_a311d_skt.dts b/arch/arm64/boot/dts/amlogic/g12b_a311d_skt.dts index 1ed8102dd13c..9ff2f3eba88b 100644 --- a/arch/arm64/boot/dts/amlogic/g12b_a311d_skt.dts +++ b/arch/arm64/boot/dts/amlogic/g12b_a311d_skt.dts @@ -157,7 +157,7 @@ compatible = "shared-dma-pool"; reusable; status = "okay"; - size = <0x0 0x10000000>; + size = <0x0 0x1f000000>; alignment = <0x0 0x400000>; }; @@ -168,6 +168,13 @@ size = <0x0 0x03000000>; alignment = <0x0 0x400000>; }; + gdc_cma_reserved:linux,gdc_cma { + compatible = "shared-dma-pool"; + reusable; + status = "okay"; + size = <0x0 0x04000000>; + alignment = <0x0 0x400000>; + }; }; galcore { status = "okay"; @@ -758,6 +765,11 @@ memory-region = <&adapt_cma_reserved>; }; +&gdc { + status = "okay"; + memory-region = <&gdc_cma_reserved>; +}; + &meson_fb { status = "okay"; display_size_default = <1920 1080 1920 2160 32>;