Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp961793ybr; Sat, 23 May 2020 02:42:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzaYT2+PdS+RmJX83nSSYeEMBZuFemzvDQbTYOF8Q0y7MUaK/N2MAneXGjPNdbY8rNUcxA9 X-Received: by 2002:a17:907:72d0:: with SMTP id du16mr11285150ejc.40.1590226974748; Sat, 23 May 2020 02:42:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590226974; cv=none; d=google.com; s=arc-20160816; b=uydAjNuD3VTzLFrN8JH9He0hdANXGYRPNEnqtmeACUCIAPnDnzxpEwcj+1A7SkvKvQ 5XUB5q7cI6omBOZcyZagBUbXiADXAwPFj5Tzt+1ABcJlfWOemZiQNyMZ1I3/Szzm6Nal UAMArhqS4LTYRoPsygdtduwHlSdadpEbqQEvfhQdck6ieYyFG78+AR6MkNI6PsqysF56 9zSNgjuNJjrMRy+Iw/P52oIxQyWcy6xk/oD6TBEd2Lo9nJGAixyi7tgeMtDxLS3o0Mug kKIJYtfNeIchm3uCBnIvZMWyaj0DzwE0hhpJfiooGeuT1hrHDfIbmg6Rg4xOaTCH0PXH /Yqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ySOv5RFCOhNktqRnSUecG+h4XEMSSgtZIHTThacyrl4=; b=MFOyc5rQ+83CGULkRUzE100tvXfl6l+29d5bqZ/dG6uOijsQE8PuLA1WRBX8o8HVxV kUhJp+Rq6Vrat13ahhuQ0dvJXmRCAvtLneABhs+Ppbk+2LvWGjm4S6tg/sj7jjNvxqZg k5y9PNXPKy7EAnVNpv8C3QYj0A4EmTKpr8g4Vrmi0AqfI5524iwUaIs3y1iuf1CjOD7/ 3R2bx6qUmfrm4aB+2l8ScxVYksl+pqexZUK9OYXWkyaJ8FqODDpV4bczZthS/AyMoDfe 723KBscGjQS/4IyGKk5gfpt6+CaHOFXMaWXUIjVdPzEY/astdSeHtMnqZA/bb02LOzhR lhQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZXyua9Pi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v26si6499375ejb.314.2020.05.23.02.42.20; Sat, 23 May 2020 02:42:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZXyua9Pi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387704AbgEWJio (ORCPT + 99 others); Sat, 23 May 2020 05:38:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725268AbgEWJin (ORCPT ); Sat, 23 May 2020 05:38:43 -0400 Received: from mail-il1-x141.google.com (mail-il1-x141.google.com [IPv6:2607:f8b0:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7E04C061A0E; Sat, 23 May 2020 02:38:43 -0700 (PDT) Received: by mail-il1-x141.google.com with SMTP id 17so13250225ilj.3; Sat, 23 May 2020 02:38:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ySOv5RFCOhNktqRnSUecG+h4XEMSSgtZIHTThacyrl4=; b=ZXyua9PiZh0B75CZ+wJJFbfRSHWNfEdmJG5gqb7VI4LU8BqFGnO8YgcvZZ0GAqcGjE KX+7b/V+awdlA48iOHjoSHYEiSgeqyhJVm9gaxlql1bRKv8Oz5DRsnTXZ43I65wYqPLK uWfkCx8oLLmUTWwYp6k8iCRtST2/u1tPVai3/4A1wyZBozQ0VNpEz99/9QjjcQVXM2QR P2+pYH4LqpepHkBrWOU+EzHTPfW42I+705YQv/OXS1POu52dVPCOQFN7btxk8VOkckse qCIXdqbsJuxDTw1PBbV6S3chJbH1DoEPjZGJzUkSr4As3rhhvWx+HcNkR6xmSO1tVCtq J8Yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ySOv5RFCOhNktqRnSUecG+h4XEMSSgtZIHTThacyrl4=; b=Zt+kLUZnXSjOFzLfF4P5R3r+0+0WY3y76Kh5VC+Y13Grp9AZd1ellYXjFeCukTpkMN KFDMNTjSGa/sds3LWxaQthQwMQzwEzeAFF6grCyexl0ZL9PV+ZdoIpVV+ebzhPC0qCzC 2cGSfhwrUjQXHCIfBw3++EK5cKWI0RjVmuj4x6rbXciGIxcF9UVUAp5fFhTloABTcOs8 qUjBmpxzyhh0aQPR72GOmzqa0XZyG4lGAudbYmuV3m5cur8+xNlPuyXip4DJ+Tnh01Kw OnXt9frruHOsa/cowp75X0TbnRJdOimkG6gKEYC3EfTrMvOJ4n1HjzzGmH1OrWAHIaQh C9Qw== X-Gm-Message-State: AOAM530gEvTADSD/VAZsp52AsDXdc56SK0rB8S7u44bQshlrhrMTKWOe sQx5D8ZBndt/hjL7al7/x1fbKtRmB1SPQYiiJ5A= X-Received: by 2002:a92:5dd2:: with SMTP id e79mr15635058ilg.94.1590226723047; Sat, 23 May 2020 02:38:43 -0700 (PDT) MIME-Version: 1.0 References: <20200518201646.48312-1-dagmcr@gmail.com> <20200522202349.GF5824@pendragon.ideasonboard.com> In-Reply-To: <20200522202349.GF5824@pendragon.ideasonboard.com> From: Daniel G Date: Sat, 23 May 2020 11:38:32 +0200 Message-ID: Subject: Re: [PATCH] drm: rcar-du: Fix build error To: Laurent Pinchart Cc: Daniel Vetter , airlied@linux.ie, kieran.bingham+renesas@ideasonboard.com, dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, open list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Laurent, On Fri, 22 May 2020 at 22:24, Laurent Pinchart wrote: > > Hi Daniel, > > Thank you for the patch. > > On Mon, May 18, 2020 at 10:16:46PM +0200, Daniel Gomez wrote: > > Select DRM_KMS_HELPER dependency. > > > > Build error when DRM_KMS_HELPER is not selected: > > > > drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xd48): undefined reference to `drm_atomic_helper_bridge_duplicate_state' > > drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xd50): undefined reference to `drm_atomic_helper_bridge_destroy_state' > > drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xd70): undefined reference to `drm_atomic_helper_bridge_reset' > > drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xdc8): undefined reference to `drm_atomic_helper_connector_reset' > > drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xde0): undefined reference to `drm_helper_probe_single_connector_modes' > > drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xe08): undefined reference to `drm_atomic_helper_connector_duplicate_state' > > drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xe10): undefined reference to `drm_atomic_helper_connector_destroy_state' > > Fixes: c6a27fa41fab ("drm: rcar-du: Convert LVDS encoder code to bridge driver") > > Signed-off-by: Daniel Gomez > > Reviewed-by: Laurent Pinchart > > and taken in my tree for v5.9. If you think it should get in v5.8 as a > fix, I can do so as well, could you then provide a Fixes: tag ? That would be fine. You can find above the fixes tag. Thanks! > > > --- > > drivers/gpu/drm/rcar-du/Kconfig | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/gpu/drm/rcar-du/Kconfig b/drivers/gpu/drm/rcar-du/Kconfig > > index 0919f1f159a4..f65d1489dc50 100644 > > --- a/drivers/gpu/drm/rcar-du/Kconfig > > +++ b/drivers/gpu/drm/rcar-du/Kconfig > > @@ -31,6 +31,7 @@ config DRM_RCAR_DW_HDMI > > config DRM_RCAR_LVDS > > tristate "R-Car DU LVDS Encoder Support" > > depends on DRM && DRM_BRIDGE && OF > > + select DRM_KMS_HELPER > > select DRM_PANEL > > select OF_FLATTREE > > select OF_OVERLAY > > -- > Regards, > > Laurent Pinchart Daniel