From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752314AbdDDImd (ORCPT ); Tue, 4 Apr 2017 04:42:33 -0400 Received: from mail-wr0-f170.google.com ([209.85.128.170]:33701 "EHLO mail-wr0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752332AbdDDIlZ (ORCPT ); Tue, 4 Apr 2017 04:41:25 -0400 Subject: Re: [PATCH v2 08/13] ARM64: dts: meson-gx: Add shared CMA dma memory pool To: airlied@linux.ie References: <1490109950-21421-1-git-send-email-narmstrong@baylibre.com> <1490109950-21421-9-git-send-email-narmstrong@baylibre.com> Cc: dri-devel@lists.freedesktop.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org From: Neil Armstrong Organization: Baylibre Message-ID: <43dd4aec-7002-5844-2e34-8507860a8268@baylibre.com> Date: Tue, 4 Apr 2017 10:41:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <1490109950-21421-9-git-send-email-narmstrong@baylibre.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/21/2017 04:25 PM, Neil Armstrong wrote: > The HDMI modes needs more CMA memory to be reserved at boot-time. > > Signed-off-by: Neil Armstrong > --- > arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi > index 5d995f7..94c6f95 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi > @@ -71,6 +71,14 @@ > reg = <0x0 0x10000000 0x0 0x200000>; > no-map; > }; > + > + linux,cma { > + compatible = "shared-dma-pool"; > + reusable; > + size = <0x0 0xbc00000>; > + alignment = <0x0 0x400000>; > + linux,cma-default; > + }; > }; > > cpus { > Hi Kevin, Please take this one for the amlogic arm-soc DT tree. It may need a rebase, please tell me then I'll repost this one rebased on your 4.12/dt64 branch. Thanks, Neil