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: 136958 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3759855lji; Fri, 25 May 2018 08:52:49 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoTQLAEjN/MEgN5B14wYW0M9IA1bRYZLZoPxcgXhz9NeM4p5P+sx+9z5d62M/O6rbyVhkqN X-Received: by 2002:a62:4353:: with SMTP id q80-v6mr3131733pfa.228.1527263569028; Fri, 25 May 2018 08:52:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527263569; cv=none; d=google.com; s=arc-20160816; b=vVVLGMGWeTr4mZhsNfwzCOf8osIRgwCBuQEx64K+tsgJbUNSINAfa5sCVj7AzkfKSs rscft3kFey5kqoQNZSs0k5FviE//g6zMxvvQK2Kxvpo9cSixQhjiLIUe7Hpq7IcmRHvT Gd+hV+iYBarcoBsdA6Tx/UFKcEfS5RXPEwNL3EBOovGIFyQoSt9W8vFjdgPTaS5Y0Q2U ABlexa+jF0jT7GFt8NMf6K67101yGz5dCksmyFN64tKGih2zCssqZmXZ3+gRBXfNIdG2 2Y0KvvGNMA7JvyOAOLnSim2suyAgs468xYD72sTLpXIWyDCLrFpJO5AWw34u5b9f2ypV pSlQ== 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:arc-authentication-results; bh=H3Ru5npA/9QTkyG3W9WB4y53LxveCKsuzPGAB3jQ4Z4=; b=0JEeyzzf8brC7lt5AgwCEpKj0oAlmT3xByuURmhkGkMMShQm12e8QhrnJ041czP5L8 7APK2A/aymgZ033Ll3YDe6cFKJcdeZlthDQWeYBWueW89fjYTVwfybh3Ds2fgXM0ZofE 4GwT/Jpehp1W6ZYbAaSq6r8K+PF//RyKOMGBUtGOZXyWAmcP4AGZTO6vSfl7K+NxdC5N eKvv6lVTD9++kN5NrGwyGJXu9KN6vG0xe2TouMnraaUNlOxh9ZF58dZyL/HjhcLM53H9 KaKm/35KsyXwvgGLMVAd3WwBe+P155Pv9cLBBNB7UDo2bSF9fDmcWuvvQUilF23N0n5B 6DHA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e2-v6si2313094pls.575.2018.05.25.08.52.48; Fri, 25 May 2018 08:52:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967091AbeEYPwr (ORCPT + 30 others); Fri, 25 May 2018 11:52:47 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:34175 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966801AbeEYPwp (ORCPT ); Fri, 25 May 2018 11:52:45 -0400 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 Cc: Arnd Bergmann , Laurent Pinchart , Eric Anholt , Boris Brezillon , Maciej Purski , Linus Walleij , Jacopo Mondi , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org 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:9Z5UrJCXXQI=:oCvGf7Iep/lJTdqjFyI2px Gl5cV3v9ylGW3kwtIlwlv62ZSyCJeNHaqt58PaP9h+lcjYf6dJIMXZw0WN/56KtrZvXokUGzx nRp0onJf43joWFwF3/GgfzQ1PZc7DSfkUHFCruvDVfGA3vMbGwhklOTeboHrKGtpYfouvtGCJ 2Pc727v3Ut53aPndJ1xrO0i0EKpTKELo6VcGCaqw0OtBXV4IRsmNN//j4T5+j2DkTbWhVSVY3 fbt2OkSAM1Lguj2b+rgg5i3EE9kWlszRwpNH4u5k0jBkMlIe8lGfSV1EHq1JITOnrY322/Gl5 uf/XCBvTST/Vm1KH32lXriUjZKNSJEyQbQuMCmF1DJ6ufEsfWMqhMcc1YAlmlRiKEOfgZ9nFY iDuaTfMkLKAR0N9UD0eZf1AvioBZ/juxM+OUdR7SZSvRLN7/ymL1giM8wnXhajf3wwtFeDzpx ognuHGv+bLXgrXeeB8B5lalj/r2gwTwwQOpAE6f6Wh+WeBm2b7qNaqzHjXGUcOVrc9R4P2+rj rwYm9bZwgIjDIWpqQKbktEYP7FJuUbQVt02/huJXVtZK0FBaYhdaqcqCcT3nSf17xbuHan+JP KBtcqBLUi7jkvhffZ7inb7AjKL7c+tnuOIjQPa1PNagRxMU1GuEBnQAtz0TUcV+NoRxn+JG3V t6DSsUlBQ6Jkw3l2Bz4w2h0QQcJ9KElZnpfeBsUhZqa/fJYcKgn6/BTq/JpqM1qLOZqE= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/gpu/drm/bridge/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 Reviewed-by: Linus Walleij 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