From patchwork Thu Mar 2 15:40:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 9600517 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9F1ED60453 for ; Thu, 2 Mar 2017 15:40:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 90EB4285A9 for ; Thu, 2 Mar 2017 15:40:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 85BD5285AF; Thu, 2 Mar 2017 15:40:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 28135285A9 for ; Thu, 2 Mar 2017 15:40:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 769C86EBAF; Thu, 2 Mar 2017 15:40:26 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr0-x232.google.com (mail-wr0-x232.google.com [IPv6:2a00:1450:400c:c0c::232]) by gabe.freedesktop.org (Postfix) with ESMTPS id B31A16EBAF for ; Thu, 2 Mar 2017 15:40:24 +0000 (UTC) Received: by mail-wr0-x232.google.com with SMTP id u48so55157901wrc.0 for ; Thu, 02 Mar 2017 07:40:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vqCK4SAzSK1CiecIqY7HKbNo+6THd682YjjgLc7zlTk=; b=HTOWK30SZGTkypt/ipdam3dw97JMMfl/l20rOm765zQTqsBAMM8fS1kAX954qf25YS +cBdAqfSwfIOOZmeNzPD5DEXb0LTBjUF2/r8zZi1+H+z6mW/5XAoB9WFluK8O0IpG88X UGn5pqOugOKVFJnthMLu/kBq8koNfmKa5hKHzbO+FNV5VQhvPydbFwmCtdzkoK5x2x2M rnhJvXLNVI/bSMasEkjXyfzKbwq6hLwJa9t6GjSd2WmL2rbbmpDEpRVFpWLLqU82YEst 0/1JLu8uG0PtaWNNkKcY15XHGsJqWRs8uyb1YmoT2xusZ8s5QRYCm5C0vfH8zWnz0HAB EMwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=vqCK4SAzSK1CiecIqY7HKbNo+6THd682YjjgLc7zlTk=; b=USn0qU9T/8aZ8DKV7GrcZ95zzsefsYK/R6V74uQrYxHiIjkunP+9v/TyG9hkoxSN69 ThWX0pa49JMXNh1Nv3CGDteY+TwTskXj4iq/IRAohNIgToo0txgB1pIemBT2eZ/60GJl frr09wyn/Jg7IIgY8OklSwBu1h4IimJ/LjFYw4/L/i37hMxjrVHfirsUFlyGuadJJ4t1 V1U7sNdLVn47uEeXfDUo44kI/31q9tTttK69B39l9B+OhbFK3b7HTCNXCGlxz2lcbe3L rkdVuB9pJoMKYaaSO/ZCGmSN1OMs7XBoWGP76oZYHEJOOgmucU6/X7fZYzS9VEf1yTiC Nopw== X-Gm-Message-State: AMke39mV0s1pWD22BMWuxzMvfdisTybjqryURMKeMFO6nYiBIotCiBajzuKUlbA/IiTSf2WR X-Received: by 10.223.132.37 with SMTP id 34mr12229423wrf.45.1488469223381; Thu, 02 Mar 2017 07:40:23 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id m201sm11717389wmd.19.2017.03.02.07.40.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 Mar 2017 07:40:22 -0800 (PST) From: Neil Armstrong To: airlied@linux.ie Subject: [PATCH 08/11] ARM64: dts: meson-gx: Add shared CMA dma memory pool Date: Thu, 2 Mar 2017 16:40:04 +0100 Message-Id: <1488469207-523-9-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1488469207-523-1-git-send-email-narmstrong@baylibre.com> References: <1488469207-523-1-git-send-email-narmstrong@baylibre.com> Cc: devicetree@vger.kernel.org, Neil Armstrong , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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 0cbe24b..fc03f0e 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 {