From: Guodong Xu Date: Thu, 25 Aug 2016 03:00:40 +0000 (+0800) Subject: arm64: dts: hikey: extend default cma size to 128MB X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8f5203abdc8f30a938910bfe2bd3a82bbbf2cdea;p=linux-beck.git arm64: dts: hikey: extend default cma size to 128MB To support display in Debian on HiKey, cma heap is used to allocate graphic buffers. The default size of CMA is 16 MB which is not enough. Increase the default CMA size to 128 MB. cc: Fathi Boudra cc: John Stultz cc: Xinliang Liu Signed-off-by: Guodong Xu Acked-by: Rob Herring Signed-off-by: Wei Xu --- diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts index 9e4e06acce8b..dba3c131c62c 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts @@ -57,8 +57,15 @@ console-size = <0x00020000>; ftrace-size = <0x00020000>; }; - }; + /* global autoconfigured region for contiguous allocations */ + linux,cma { + compatible = "shared-dma-pool"; + reusable; + size = <0x00000000 0x08000000>; + linux,cma-default; + }; + }; reboot-mode-syscon@5f01000 { compatible = "syscon", "simple-mfd";