From patchwork Fri May 25 15:50:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10427883 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 59FE2601D5 for ; Fri, 25 May 2018 15:57:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 43C04288FC for ; Fri, 25 May 2018 15:57:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 349DB289AA; Fri, 25 May 2018 15:57:09 +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=-5.2 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED 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 C959E288FC for ; Fri, 25 May 2018 15:57:08 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E69EB6E969; Fri, 25 May 2018 15:57:07 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5E2946E969 for ; Fri, 25 May 2018 15:57:06 +0000 (UTC) Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue105 [212.227.15.145]) with ESMTPA (Nemesis) id 0MMFQL-1fPoJ12yoX-00829j; Fri, 25 May 2018 17:51:50 +0200 From: Arnd Bergmann To: Eric Anholt , David Airlie Subject: [PATCH 5/8] drm/v3d: add CONFIG_MMU dependency Date: Fri, 25 May 2018 17:50:12 +0200 Message-Id: <20180525155030.3667352-5-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20180525155030.3667352-1-arnd@arndb.de> References: <20180525155030.3667352-1-arnd@arndb.de> X-Provags-ID: V03:K1:6T3Ud88LEAdQJdKJHT0oMDM4g9lJpFi/VazujwBMEEqHBcOpQVJ ZZZj+7YCZORAkc+Wcb1XYsO04cymWjGa715bXUX5aX1avmyMsu5A1yly4TVI0zQoYAskFXG vzRacFrzfy84xw8q7pXujFRlN97zfkL35KfszYAwxRfJEGKQBkvIxFXJ2Hig6SQyuk1eIDI o04YlXLAcGS4k0JHQxxbg== X-UI-Out-Filterresults: notjunk:1; V01:K0:ZUmTIeB3/xM=:Gzyh+p0wmlAonOVZ6PjQLu FiMVIQRPE5FRttPb6ArnK2AJL+aKQyyR8bnTEemprSMCSqVy1m8Oj1iKtEb0YX7oqF6ZxQFgB kpoH802Fx4T+fuMsaVZmmQFv3WAmK+XCNoAolPUIeIGOkABnIpU65z5Y8XRQ/wt+D1h35l/qf asfrTxr83aEcSL++Z3qcPjkeMJDpboTpZoM7h5AiNxRP17eUEN0LxhdtUbjNsQpKFn4zdZ3Wd lwt8dU2DRjY9Y5/N94VRHinlebgWJDpcomhXDE+7v0BaMRmCxxpwVD8xlwawtXP9iGq39jnut 81sbnrjul0TzWc/7fTz9wnItb7t3NjgCWzhNp+Hsu8SUuxzUC2nENOYiaQdOAg5YY5EP14bYl J08WXjf298TDbSAvT33/G7rje2gdYBXu2OonsfUX0hcN46UBv4jDDwmXYUQ+0neNB1zslhPqS OcD4ueYIKW75W1Lxm9cAxXI8btYDOkV3DRYTEt+0vzNP99O4cgWxK1LlpdEc9QE3F0XiVjewJ 6MCiYfc9yYKiz4AtcUDyDsotUtqRhontW7MdtSqqdyIdKjaBxPgUvVsDGWDNw/1gH8T9EgzZY N/WAVeOmpkGdO25YZh/aXLgVaD2pYf8mHyPvh+RuPYjLYpDArbaeA+r9021eJZrRu6BCsuRcT w5CLeWEQKuCDG9DOJ4mNlmErQSAe0CUkpLAxr2ZIv5BH9KdgrZ4XKT5i0q9rbBwYzJPs= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Vetter , dri-devel@lists.freedesktop.org, Arnd Bergmann , linux-kernel@vger.kernel.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Without CONFIG_MMU, we get a link error: drivers/gpu/drm/v3d/v3d_bo.o: In function `v3d_gem_fault': v3d_bo.c:(.text+0x3ca): undefined reference to `vm_insert_mixed' The other drivers with this problem already depend on CONFIG_MMU, so let's do the same thing here. Fixes: 57692c94dcbe ("drm/v3d: Introduce a new DRM driver for Broadcom V3D V3.x+") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/v3d/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/v3d/Kconfig b/drivers/gpu/drm/v3d/Kconfig index a0c0259355bd..1552bf552c94 100644 --- a/drivers/gpu/drm/v3d/Kconfig +++ b/drivers/gpu/drm/v3d/Kconfig @@ -3,6 +3,7 @@ config DRM_V3D depends on ARCH_BCM || ARCH_BCMSTB || COMPILE_TEST depends on DRM depends on COMMON_CLK + depends on MMU select DRM_SCHED help Choose this option if you have a system that has a Broadcom