diff options
author | Guodong Xu <guodong.xu@linaro.org> | 2016-08-25 06:00:40 +0300 |
---|---|---|
committer | Wei Xu <xuwei5@hisilicon.com> | 2016-08-30 18:47:15 +0300 |
commit | 8f5203abdc8f30a938910bfe2bd3a82bbbf2cdea (patch) | |
tree | be20c52927702882b0053b2f87a2775ffb13108b /arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | |
parent | 7e01e7a109515718fe89a137a68de3ccff660954 (diff) | |
download | linux-8f5203abdc8f30a938910bfe2bd3a82bbbf2cdea.tar.xz |
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 <fathi.boudra@linaro.org>
cc: John Stultz <john.stultz@linaro.org>
cc: Xinliang Liu <xinliang.liu@linaro.org>
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts')
-rw-r--r-- | arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 9 |
1 files changed, 8 insertions, 1 deletions
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"; |