From patchwork Mon Apr 23 13:47:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Miguel Silva X-Patchwork-Id: 134005 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp1021340lji; Mon, 23 Apr 2018 06:48:57 -0700 (PDT) X-Google-Smtp-Source: AIpwx4//dImzmFPD2UFDG4NPjTlBqMH3hrd26A/aP8IZ2Q3GyIjpjSUsElBLkg94M8aGOEFlVQZB X-Received: by 2002:a17:902:d20b:: with SMTP id t11-v6mr20747448ply.381.1524491337820; Mon, 23 Apr 2018 06:48:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524491337; cv=none; d=google.com; s=arc-20160816; b=Yjus08I4GKsygTVt+P92PdR/lovFbSOTtaq9II78fON/4EhytdhIJpPOIzWxCvoXbq kF0Q/aW1oLgkmfEp//By7cNUh7QfLK+Xi3Jm7FkMndes86qiOIktYRwRxyHKDhf/oYkH /iIXUelaHI2GMp+x7wlFIA+07zoKeHviiMuDMa8fVGy7J4vZasG/aoIjOztmnTFi2RYi FlsdlvqXPo0rP/6vv68Arqe/KwvuknZQx0TMTpwOEu73PhxDdUS1gubkBno1EJwYHcQW 9f40Noei41/bT7X/cY+0J5HcBsydSYe8iaTljyKsOUiPfcmuQ2wjMDZmzqLeHjKAy0JZ oCcw== 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=wPyu3heAvVDvohwOt0GuYOSAGsubJnwvhZCZekGEaYI=; b=VA1PR4YB7nMTAtX2f0x3PYNGXWer9IBMLTXzDpwqdzxgrgjBsjUpTpj4FJckH6u6tC PTtKwJlGFYLsbN2TIzvG0tqdWJ0SORvtvDsgICsdNtxpqqR0gksfiniEuDA1WUYVI9sb gwapP6lpZgrFL49R+p+p7gtwAqTNKaWbHCHus19L2JwfzPdXxf4V21PcV13vwVcwtfDK WZSUXZXD1tlZU3CpO9Inj7fduep7IZPVJFHpy7m+Cn4OF49DCeepkdHR6ovPeVbPLJLa 9QUpSjyH4TFk6wesIHzGHw+Q0jVHvSsiZKn2KK8vvJXPbVLfTwVbZluAj9DVz6oehm1n oYvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=F8YDuFwK; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u7si9006758pgv.251.2018.04.23.06.48.57; Mon, 23 Apr 2018 06:48:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=F8YDuFwK; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755401AbeDWNs4 (ORCPT + 6 others); Mon, 23 Apr 2018 09:48:56 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:34615 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755378AbeDWNst (ORCPT ); Mon, 23 Apr 2018 09:48:49 -0400 Received: by mail-wr0-f196.google.com with SMTP id p18-v6so22305622wrm.1 for ; Mon, 23 Apr 2018 06:48:49 -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=F8YDuFwKg1eGwiMwIUiX55kTOGvKLRAjtu1ivmR2PtA6DsLE+ATfTwb6f01sdaCsKa oO9cb00/uAWdOaUoHxRxVv8DDRPLY1TO9Hf/sw1Jnw5bZJ3ZWnZtGKJFQZryw1sWjzOJ WOsNwIBabT58AheGccROjiTxhw5dZCuRDQdTo= 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=tHN0ocymBP8Sdwh4o64+iCqdEW8R3etVid26H3+JM4cjqB+XgQsk9RKch6JtiI616E ru+aFGOkpoG993D4rgJsAzM8N4p8hnMr76c5HsFC8WsP5ajipt6mB4199E/k7GAI8KqC GH9yVnScoGQlw3nKMhC91hZ16ELSDS1I9f8KcSQ7fG/LdD0EfwQAjBF0VZ9etxsONVbs Mel31YVWYUvubIfQ8vM1CoUIwvbGEUHWY3AZ0h3sAElh6rH2eB58U/KhWVdpIXhC2jsH ttD3+MHGg04PVSB6xswL634KiG+ICyZ61yfU076z0wcx/upOEu/Z6Yusr8v2h7mTMAMk RvEw== X-Gm-Message-State: ALQs6tDYsjJ/BG30rXl2ROmEtW4jXSTrCMRfGYDMqhG60iESfoH5B1sL JEMT4j8EGbR9bojD+xRjSmbOlg== X-Received: by 2002:adf:8827:: with SMTP id d36-v6mr17278143wrd.41.1524491328486; Mon, 23 Apr 2018 06:48:48 -0700 (PDT) Received: from localhost.localdomain ([2001:8a0:6606:9100:b159:5390:182d:7dce]) by smtp.gmail.com with ESMTPSA id n14-v6sm14680319wrj.16.2018.04.23.06.48.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Apr 2018 06:48:47 -0700 (PDT) From: Rui Miguel Silva To: mchehab@kernel.org, sakari.ailus@linux.intel.com, Steve Longerbeam , Philipp Zabel , Rob Herring Cc: linux-media@vger.kernel.org, devel@driverdev.osuosl.org, Shawn Guo , Fabio Estevam , devicetree@vger.kernel.org, Greg Kroah-Hartman , Ryan Harkin , Rui Miguel Silva Subject: [PATCH v2 07/15] ARM: dts: increase default cma size to 40MB Date: Mon, 23 Apr 2018 14:47:42 +0100 Message-Id: <20180423134750.30403-8-rui.silva@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180423134750.30403-1-rui.silva@linaro.org> References: <20180423134750.30403-1-rui.silva@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 --- arch/arm/boot/dts/imx7s.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) -- 2.17.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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 @@ ; }; + 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>;