From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932203AbcH3P6a (ORCPT ); Tue, 30 Aug 2016 11:58:30 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:45992 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755972AbcH3P61 (ORCPT ); Tue, 30 Aug 2016 11:58:27 -0400 Subject: Re: [PATCH v2 1/2] arm64: dts: hikey: extend default cma size to 128MB To: Guodong Xu , , , , , References: <1472094041-5357-1-git-send-email-guodong.xu@linaro.org> CC: , , , , , , From: Wei Xu Message-ID: <57C5ACC0.90902@hisilicon.com> Date: Tue, 30 Aug 2016 16:56:48 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1472094041-5357-1-git-send-email-guodong.xu@linaro.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.203.181.152] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020201.57C5ACD0.025A,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 3b6ff67f15c5ca7e1df042f49117b943 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Guodong, On 25/08/2016 04:00, Guodong Xu wrote: > 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 > --- Series applied to the hisilicon dt branch. Thanks! Best Regards, Wei > arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts > index 9e4e06a..dba3c13 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"; >