From patchwork Wed May 2 21:31:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 10376677 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 C9CAC603B4 for ; Wed, 2 May 2018 21:34:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B9ABC1FFF9 for ; Wed, 2 May 2018 21:34:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ADD5F27E01; Wed, 2 May 2018 21:34:18 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1D09D1FFF9 for ; Wed, 2 May 2018 21:34:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=UppgvIzZiNDFnQjpYckvswEAsqJh4X0/C1uGprcnLag=; b=Si7 gNdLCsE0Si+FYFgcw4T9/1o47DcLrMjRfEh4ry3W7Xy3wCFI3RqSr1Jkkzh0T1/iZcJtzrr5cvfIL Huozbzn9ejzqZcgkjmaK5COgBt9pKs1sEDdt4rW73uZsrDfnSnktJP4w3mgXCzZLJgWoqGHCPni/i 1uL5kHeNlZ6xAPo8urSP+AnHj57WsMxY1vWiQICxsstlmoKEOnfHU/4JHosiOUMbgsckF7l4TZ/5N RkqxUJgaVfajI9uKY4UoluaDG/5Ks6tHJNeh40XwSaNk+D0tgO0/ZcacIruO/CEcqPMyi5y9IoqzE SQgxy87Vu8h8PoV5Eg4a3KDSRPXlGyA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fDzO4-00016K-LP; Wed, 02 May 2018 21:34:08 +0000 Received: from mout.kundenserver.de ([212.227.126.134]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fDzNu-0000wm-Bv; Wed, 02 May 2018 21:34:00 +0000 Received: from localhost.localdomain ([95.90.209.120]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MOEPQ-1fJV9a1I7Y-005Vq0; Wed, 02 May 2018 23:33:38 +0200 From: Stefan Wahren To: Catalin Marinas , Will Deacon , Florian Fainelli Subject: [PATCH] arm64: defconfig: Increase CMA size for VC4 Date: Wed, 2 May 2018 23:31:40 +0200 Message-Id: <1525296700-3588-1-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 X-Provags-ID: V03:K1:24p4Gu+9T4+pAcntqwzlcv81ygf0spaPSWfwjD55RFkbUFjqQib gzfn+BvCAcBx8Abd+7r9btL+VUZhcHpHTBfF2AxVwmD0ykYhVxoXn+gAtHsBf772mA6hSXH CGm2mkHwTNNw3fFsgyFvWgOlROwPdlOc/8wBp5spS5auzDI32vV9Elikm773lGjPlo9dLZ5 /rUE8lHM8B6VkjHbYYMGQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:6raUpPv6VMI=:3rYmlHeiR7wnSaJwkKWkUc dsRdTYw/8e2M2lmSyw2ZWD3T4K4ElLdXYaRnR5nhxSnkSpDA2bxZ7V5B8txPnA+3wTGyYNnUh ilFtRhuFLED2SSnjj6Wankfz1PmkTkG6TlST+MGBOrgXGPZ4A70blt0AcCvCco+Ik7kBE3UTv 3ZokCpdxGbnX0m9abUgOECHwdG3KILlW9DTA2Mob5plevZgMF1L3Y9nERatiu2hUDCwkIoYSJ JsOCERqffT9bwMN+Vy9M3SLBW5PEuc+AjimVwtRgaR/OhDFCML4A/RFylwT2XZWbu4bpsTafm 68fTMuaTNurVQEj/NrblKQvDy8spAkN8BjlKi0DXm0snIoHEMU+Nd63RbacTU2Zj1oKXVMEet 9CNQuCI3Q3OxaxTNmemJjAit1q1EXiNLws1SjO0c4SaLwC532KMbBoNovpcJhTYbB7vRa97WT YlgsBYbjyFemM7zKldcN7b/ulaQEYM7r/msZdwE+qTMdMnJJWi4+lcbLLcOf2TOT4W+Qk39rg NvTjWL6WiIrzBKGDBTN2B6LcLZ/EhJzF0U/64yDEN88SVmJgIn5X5Ec4Xepv+BzSciuTBlXuQ 6qFVFZccSuOtNc+gLmeFs6K0GilXRSIkIpmcaV8LF+sNJ5urAIXeQ8t2D1JJtcpNzmHe/nkX0 +bATZX10kxPWyeKn3SMy7unbR2xrbjFR/d12vqZ54mI3XS9/ibUXRNC7enjvJPZrOQoU= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180502_143358_732910_001570B6 X-CRM114-Status: GOOD ( 13.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Wahren , Arnd Bergmann , khilman@baylibre.com, Eric Anholt , linux-rpi-kernel@lists.infradead.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 The VC4 needs more memory than the default setting (16 MB): vc4-drm soc:gpu: swiotlb: coherent allocation failed, size=16777216 [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA: vc4_v3d 3fc00000.v3d: Failed to allocate memory for tile binning: -12. You may need to enable CMA or give it more memory. vc4-drm soc:gpu: failed to bind 3fc00000.v3d (ops vc4_v3d_ops [vc4]): -12 vc4-drm soc:gpu: master bind failed: -12 vc4-drm: probe of soc:gpu failed with error -12 So increase the value to 32 MB and fix this issue. Signed-off-by: Stefan Wahren --- Hi, i known it's a little bit late for 4.18 or should i rebase for 4.17? Regards arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 7ca583e..0e1f6d7 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -172,6 +172,7 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y CONFIG_DMA_CMA=y +CONFIG_CMA_SIZE_MBYTES=32 CONFIG_MTD=y CONFIG_MTD_BLOCK=y CONFIG_MTD_M25P80=y