From patchwork Thu Aug 25 03:00:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 74642 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp620916qga; Wed, 24 Aug 2016 20:03:09 -0700 (PDT) X-Received: by 10.98.99.67 with SMTP id x64mr12074885pfb.26.1472094189776; Wed, 24 Aug 2016 20:03:09 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id 1si12835288paq.222.2016.08.24.20.03.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Aug 2016 20:03:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bckvA-0004Jx-SJ; Thu, 25 Aug 2016 03:01:36 +0000 Received: from mail-pf0-x230.google.com ([2607:f8b0:400e:c00::230]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bckv6-0004JH-Eg for linux-arm-kernel@lists.infradead.org; Thu, 25 Aug 2016 03:01:33 +0000 Received: by mail-pf0-x230.google.com with SMTP id h186so12924194pfg.3 for ; Wed, 24 Aug 2016 20:01:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=RS0LL7r1z/ujKCPTHpzbNpe01jr0uvX5xADa05Io3f4=; b=VA3VzO7jh4LGks9tHdt4AesTVdi8CTmUd2u0qUrhRQOLnyCEaNQrEjEUbaAety9xN5 85rrTuEJlD00GuvVQz/1DkrwXtZ50zW/tC4KC2yj+sb5m/UD1pveDCHSKaiS5ZcJUWNy 2SGsFjvMDXDrxUEPY4u+3fiYxS/MkXAJs12Gk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=RS0LL7r1z/ujKCPTHpzbNpe01jr0uvX5xADa05Io3f4=; b=JR5wWpjkWTNa4N422IfacKEvp6VzRtII889zolf/o3QAGTf1Io2wrPmt+aFmMGJzUs v4i76zDEuTPd5RIt9JyYsUgNxTRhUQLCKpCtHERPs8x8OEQ0szUi4gqSdmYdL94bgKGK Ic/q+qJKgm/EpujaDgsJ3pf0t7naufJWUcFtfzHqpecL2jmHFQsVx8NfkD9TOBZUwhAW v+da4cQJaRoLSgSu/ZazHmo3Od3iXo2ZZvVuPiYZM1ZwIZXCkTY/54MHfmCyp+wX63wZ 2b45TnTqcxVHKNmZVT4k1ltVR6Hcd4qtc1Ga6k0YO3kHa4m5TXvGbw734BS1BxR4aIiC zcIA== X-Gm-Message-State: AE9vXwNn4OsfvlMGlXcmFamyN9iM5iLLRmcKtOWyT7MwuanaIXwbFm9kcQiHXxzODMr6fWvw X-Received: by 10.98.34.151 with SMTP id p23mr12141545pfj.102.1472094069802; Wed, 24 Aug 2016 20:01:09 -0700 (PDT) Received: from localhost.localdomain ([167.160.116.32]) by smtp.gmail.com with ESMTPSA id fj19sm16789182pab.37.2016.08.24.20.01.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 24 Aug 2016 20:01:09 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, rob.herring@linaro.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com Subject: [PATCH v2 1/2] arm64: dts: hikey: extend default cma size to 128MB Date: Thu, 25 Aug 2016 11:00:40 +0800 Message-Id: <1472094041-5357-1-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160824_200132_722351_86A3DE89 X-CRM114-Status: GOOD ( 12.05 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2607:f8b0:400e:c00:0:0:0:230 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Guodong Xu , xinliang.liu@linaro.org, linux-kernel@vger.kernel.org, jh80.chung@samsung.com, john.stultz@linaro.org, fathi.boudra@linaro.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org 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 --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) -- 1.9.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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";