From patchwork Fri Aug 19 15:42:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 9290439 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 B762B607FF for ; Fri, 19 Aug 2016 15:44:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A8DFB294A7 for ; Fri, 19 Aug 2016 15:44:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9D46D294B5; Fri, 19 Aug 2016 15:44:46 +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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 66FDD294A7 for ; Fri, 19 Aug 2016 15:44:46 +0000 (UTC) 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 1balx9-0006YA-29; Fri, 19 Aug 2016 15:43:27 +0000 Received: from mail-pf0-x22c.google.com ([2607:f8b0:400e:c00::22c]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1balwi-0006Rw-ID for linux-arm-kernel@lists.infradead.org; Fri, 19 Aug 2016 15:43:01 +0000 Received: by mail-pf0-x22c.google.com with SMTP id x72so10569143pfd.2 for ; Fri, 19 Aug 2016 08:42:40 -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=Bvj2XE16SYzT4uV+8e3VtZpAjREIxDQWTa/jkf2iefc=; b=Mi81r4AC0A05Upfl7X/n4TrDa1VoTOiENHc1wqvehbi+pSch842sxR1mY+uvEFthZM kqc3GiGj+Cxq6a9fGPXZpmQtf6rD8UdRRFz/62QSfbzuopXsAkkQJSn5ZnOXPs9cRtH9 R4gZmYDZ4bohEk4JTAsoypGiLhsSLJvIIun/o= 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:in-reply-to :references; bh=Bvj2XE16SYzT4uV+8e3VtZpAjREIxDQWTa/jkf2iefc=; b=L6obud15XMuE90StK7b/SUI/QHpzTHVG5cOwq2HNA/2kPEzTcyD66RcjF8e1Xa0svQ x/MKbZPn1x9mHU2pwsKNazRTI6fOnluauB+XsWC7lwF5O82LvzwPrx8dLZZQrOPeN6h9 6oGa2zCOh2GthSPTeJ3Aw2qiTHdaJS8lwwvB45VtGYPpQrNuwGcZ6DQ24yRbkXuQvaaX r8Wc0ijNosqJNq82DbsbPnkzu9IvBO6CggsRME6oIXCh7uPtmXwmW5+uw++u4/9mqjWv iOdUdViaXrW765sxJqmQocEU+tqWq1FgBtcYxTZ2Cp845FQVhqOZsSR+4bKwdm11Dj1v TSNA== X-Gm-Message-State: AEkoous6LqG3YjQ6QwOgrtpUaiWEFMpLFi0yDNgVu1lxTscu4bYE7bwOsxwM5UD9zqs8/ocH X-Received: by 10.98.74.201 with SMTP id c70mr15422652pfj.113.1471621359675; Fri, 19 Aug 2016 08:42:39 -0700 (PDT) Received: from localhost.localdomain ([45.56.159.104]) by smtp.gmail.com with ESMTPSA id z10sm7492236pff.95.2016.08.19.08.42.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 19 Aug 2016 08:42:39 -0700 (PDT) From: Guodong Xu To: catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de, horms+renesas@verge.net.au, treding@nvidia.com, olof@lixom.net, kuninori.morimoto.gx@renesas.com, alim.akhtar@samsung.com, srinivas.kandagatla@linaro.org, xuwei5@hisilicon.com, khilman@baylibre.com, riku.voipio@linaro.org Subject: [PATCH 2/4] arm64: defconfig: Set cma heap size to 128MB Date: Fri, 19 Aug 2016 23:42:06 +0800 Message-Id: <1471621328-21102-3-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1471621328-21102-1-git-send-email-guodong.xu@linaro.org> References: <1471621328-21102-1-git-send-email-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160819_084300_690217_40B44EB8 X-CRM114-Status: GOOD ( 10.04 ) 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: Xinliang Liu , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Xinliang Liu For debian linux, cma heap is used to allocate graphic buffers. The default size is 16 MB which is not enought. So increase the size to 128 MB. Signed-off-by: Xinliang Liu --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index e27f086..c94f2fa 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -130,6 +130,7 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y CONFIG_DMA_CMA=y +CONFIG_CMA_SIZE_MBYTES=128 CONFIG_MTD=y CONFIG_MTD_M25P80=y CONFIG_MTD_SPI_NOR=y