From patchwork Fri May 25 15:50:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10427887 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 BAF776025B for ; Fri, 25 May 2018 15:58:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A6D252895B for ; Fri, 25 May 2018 15:58:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9AF1B289F2; Fri, 25 May 2018 15:58:06 +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 325B92895B for ; Fri, 25 May 2018 15:58:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 506716E973; Fri, 25 May 2018 15:58:05 +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 [217.72.192.74]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3F4F86E973 for ; Fri, 25 May 2018 15:58:03 +0000 (UTC) Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue105 [212.227.15.145]) with ESMTPA (Nemesis) id 0MUEZG-1fnE5314Dq-00R1Xo; Fri, 25 May 2018 17:52:27 +0200 From: Arnd Bergmann To: Archit Taneja , Andrzej Hajda , David Airlie Subject: [PATCH 7/8] drm/bridge: fix dependency for lvds-encoder Date: Fri, 25 May 2018 17:50:14 +0200 Message-Id: <20180525155030.3667352-7-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:LVIm6kSURKg4YU6GswfLEU9yE7ciQXHXfcl8nw6OGCM7qyrhxIr wkG0QUw7qvQXlv2yL8kJvbCffpfhPVWQhif46Oj6ywv/aw5eNpWBop9pD1RV7e+c0f6+xAK jFbR1xEh5xVOGpFow1G9KsYDNBcJYqZfGDi0KFal4Pn8T5ZUTK6H/HUgTEX01aaOiaLI5so xHxHgN2/tzytokmlXx/AA== X-UI-Out-Filterresults: notjunk:1; V01:K0:3VX6o+z2sYQ=:tZiSIVG9gauCmrtGhu+UZD thrz2x4GjXDIfj5WhE7L0EDXwQpOLZBnJGL0IPom+jg4i9Dm1V2K6ydl9/eCWXO5lJGB58eJS VPv3toyus29d4imJrSieLM+/BGklo60KGSXdCqj+Fy+rVfFjV/JYF18c9kCMOOPRjQSL95vkK Sm6BPrJ9OceHCU/SNYPaCkqMO9XQmcA4/L91D+9bdgJ6P5KRV+rchqXdJlwpNnWaQTqIwSt5A 5GynLhF24sOKcJgXzr+XVHtyDt15mGn9LZ7uEGJL/Sl09db56IZ968NTn5QR6hEgEKSc9vbKo k83elZxulxi+F5byS55FMDVq/2zDHgX2VCJddlnc7dvL6SYhgDbOdtIaeCOL+Majs6FkOlg6N 2R6wGriuCxvGChmooQL8fch1QxXoULMfQTv/n8hvP5OxAZQo3c9bfND/UxA+tDR6y16tOajHw o1URGGNyFufbw4QHjSHm3SSMYA6V+h/sEH8QzRCXMStM0Ec7XWm9KmnzSiahOEye3C+JLLDZA YB5fTvbaqA0eUlU/1L7ojZgTuwHy9wytcMuMFkAX/iUQ/B9Nx0nHk1Psvnr5Abs++Mm7CxZkS IFOr2Igwj9Qvt5+1Z68hzLZ+mHQjanhWr083vA+UsQR85K9yIqEaqVdFuETh3QJ/reVuqenhN llUiwBRGDOdae3snYgj17Ki4H1RvtPBVywAwf4Q88yjmcBO6RYKzScSik2dD/NRzykFU= 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: Arnd Bergmann , Boris Brezillon , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Maciej Purski , Jacopo Mondi , Laurent Pinchart MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The DRM panel bridge code is built into the kms helpers module, so we get a link error when trying to use it from a built-in driver while the kms helper is a loadable module: drivers/gpu/drm/bridge/lvds-encoder.o: In function `lvds_encoder_probe': lvds-encoder.c:(.text+0x124): undefined reference to `devm_drm_panel_bridge_add' This adds a the same dependency in the lvds-encoder that we use for all the other users of the panel bridge. I did not bisect the problem, but from inspection it seems to date back to the patch that separated out the panel bridge from lvds encoder. Fixes: 13dfc0540a57 ("drm/bridge: Refactor out the panel wrapper from the lvds-encoder bridge.") Signed-off-by: Arnd Bergmann Reviewed-by: Linus Walleij --- drivers/gpu/drm/bridge/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig index 6caa47834194..cf47bfa7a050 100644 --- a/drivers/gpu/drm/bridge/Kconfig +++ b/drivers/gpu/drm/bridge/Kconfig @@ -46,6 +46,7 @@ config DRM_DUMB_VGA_DAC config DRM_LVDS_ENCODER tristate "Transparent parallel to LVDS encoder support" depends on OF + select DRM_KMS_HELPER select DRM_PANEL_BRIDGE help Support for transparent parallel to LVDS encoders that don't require