Message ID | 20180419101812.30688-9-rui.silva@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.80.173.174 with SMTP id a43csp614156edd; Thu, 19 Apr 2018 03:18:56 -0700 (PDT) X-Google-Smtp-Source: AIpwx49MdWtJ9xooks6gBFmC4/NHxNA4tm7in/a6vMeQGW+AldVXI0C5lrfBjiY1Vw0IRzrtlKZO X-Received: by 10.99.95.130 with SMTP id t124mr4721048pgb.150.1524133136370; Thu, 19 Apr 2018 03:18:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524133136; cv=none; d=google.com; s=arc-20160816; b=gVCNecVN41Vd1vOY7DE9qdfDOy4KnOMg3KRmTLgJzk2+WYg8gBer0IRyeejEptM2FS tVNoYtPlcy7vMKOG+cXASI5HeqAcAc/NywiVI2PnjW53VrcPBHKrxZn1Cg+I8RGQEbL1 e02dMqaz+co29t6maMBlV2svi4KlqkyWJwMF1XKmrzpdWFZxkwW5rLQrcSFSBgHRxZes ONceGQHRma/pMprZQV2F/oy25Cwxm5oKJmtvaf4FMzpkpMZs4LHtEKjmXzvhzAKHXmoU cqyKgCIoueRddkcFPV6XyIPLyfJXOH86m5KO1Gw1zjjf6z1VWnVg/S44isc4Z71e77qC 68WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=iYeH3velqK4JMtXvVYuTWojZ5yd9g77mW6Ku0eB1P38=; b=gEcLq9CpTSSLBKIsLXzJ3bcWgKYXlaR2TWEvicILjBKwhTfi20zpHTEJXAoP8eH1z3 E5IWajhwD6Oiw+hEIoDe2fFS8L4eonFUoZnTma4rbBpgAs4+NommqXPbfnyOHxxUdch5 OofigwhDnqKbSi2hvvRkFL6QReuyACIDjv+8M5BibWriUgFeUejUhWCvhASE1uiXIx7E sS+qnQI4MGHTpF/NKYfNtqlvcHKw8+8c3FABSyALtQA5zPejxIPKQ91s7zKym0w1hyJ4 ArW00KrHFt1mP2uJbC1DWNXFx7f81r2JozMYuw9ROwSI6/zNZG3s+qvOcXo3l7Yjziz6 jDRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QWhLmIx2; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-media-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r18si3018088pfe.168.2018.04.19.03.18.56; Thu, 19 Apr 2018 03:18:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QWhLmIx2; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752245AbeDSKSy (ORCPT <rfc822;loic.poulain@linaro.org> + 5 others); Thu, 19 Apr 2018 06:18:54 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:40783 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751980AbeDSKSw (ORCPT <rfc822;linux-media@vger.kernel.org>); Thu, 19 Apr 2018 06:18:52 -0400 Received: by mail-wr0-f193.google.com with SMTP id v60-v6so12507293wrc.7 for <linux-media@vger.kernel.org>; Thu, 19 Apr 2018 03:18:52 -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:in-reply-to:references; bh=iYeH3velqK4JMtXvVYuTWojZ5yd9g77mW6Ku0eB1P38=; b=QWhLmIx2AeKL9xE2bgyNQEx0mf/n1bPwRXRqfZGf7U6i7Vmj/zsL0lZFQkHq2aoCwf 8SiSUPxGh4UBWOJpDkUWSRrwT5/EK/iWT7Y9QrIRH0EilkIaFtcOpZuJYmuT30NRfcRz DfN206Ge0HvRmIPTmmK+E870hOrtNFm9nJtYA= 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=iYeH3velqK4JMtXvVYuTWojZ5yd9g77mW6Ku0eB1P38=; b=fv8af6xUFGNx+kb2/Ve+OWQW8pLAXCENi05V4eoeTxC0e2Tui28im+0Dg1xINsF3N9 RRW16A0u44SlbbetpF7XV2kRGnMYY+aOjb1dZNkQmKVMYMYmyPqAvP8qSnFUjPnkYXYL QsXqsjrv9vCJjqqwgTEE3uRh5Qzgf/ddwu4+psQItzseR87CVYLmHWMW85rEgGx4mP3V 0GgeKRL/gyHtV1ITlL/UIYw6ac8UErrQFq2OBajOnCSEdvHZfH9+jPAgK724GT2VMQUi aMp4yT5WHe2PgjNvpvehtP1dxXV3flcvLigUc5IKWXXGDlSkdSunwCzd3jZSi9VBdSHD 0MFg== X-Gm-Message-State: ALQs6tB9b8ATMwVY5bQHGTXnY4Kuxh+YiUnEzqjkSGzV6FGQ8aXdi8wc rK69e+tBRiuEf9jhNgMEY+qIpg== X-Received: by 10.28.135.9 with SMTP id j9mr4371385wmd.68.1524133131455; Thu, 19 Apr 2018 03:18:51 -0700 (PDT) Received: from arch-late.local (a109-49-46-234.cpe.netcabo.pt. [109.49.46.234]) by smtp.gmail.com with ESMTPSA id v66sm5220937wmd.41.2018.04.19.03.18.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 03:18:50 -0700 (PDT) From: Rui Miguel Silva <rui.silva@linaro.org> To: mchehab@kernel.org, sakari.ailus@linux.intel.com, Steve Longerbeam <slongerbeam@gmail.com>, Philipp Zabel <p.zabel@pengutronix.de>, Rob Herring <robh+dt@kernel.org> Cc: linux-media@vger.kernel.org, devel@driverdev.osuosl.org, Shawn Guo <shawnguo@kernel.org>, Fabio Estevam <fabio.estevam@nxp.com>, devicetree@vger.kernel.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Ryan Harkin <ryan.harkin@linaro.org>, Rui Miguel Silva <rui.silva@linaro.org> Subject: [PATCH 08/15] ARM: dts: increase default cma size to 40MB Date: Thu, 19 Apr 2018 11:18:05 +0100 Message-Id: <20180419101812.30688-9-rui.silva@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180419101812.30688-1-rui.silva@linaro.org> References: <20180419101812.30688-1-rui.silva@linaro.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index 4d42335c0dee..142ea709d296 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -182,6 +182,20 @@ <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + /* global autoconfigured region for contiguous allocations */ + linux,cma { + compatible = "shared-dma-pool"; + reusable; + size = <0x2800000>; + linux,cma-default; + }; + }; + soc { #address-cells = <1>; #size-cells = <1>;
To support camera in i.MX7 the cma heap is used to allocate frame buffers. The default size of CMA is 16MB which is not enough for higher resolutions (ex: 1600x1200). So, increase the default CMA size to 40MB. Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> --- arch/arm/boot/dts/imx7s.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) -- 2.17.0