Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp555746pxb; Mon, 7 Feb 2022 18:46:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJyoCnaxla7V/xBY+0I+7Z7oaTSnsRYdXT28+djEtUu+cCxT+I74lmZmyMGzBegWQzmUJoYt X-Received: by 2002:a05:6402:84e:: with SMTP id b14mr2420465edz.112.1644288378251; Mon, 07 Feb 2022 18:46:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644288378; cv=none; d=google.com; s=arc-20160816; b=N3kl/bNcj0ckq/wICczWEynbz/rg/VgVw/EKjTyqSLAC4bcJbS/OZOVxHfkMtph4lP /ZLKSxwgGW5q47VdTTx8OyEtnKomhAT6RxqY/LrROIV7qOovWp1LnxtSECIrCeQu8OXv /vxbDJ24MErE00lmSoQV2HbjGOI33KhS23HWFCSm/xWOgSB0Ps+Qxr6qhM6Sh4B5B6Ax Zho0j7lMUqcY0DQKQBFDVWq9367pbQqge9dNaE/cUQexhQU9/kdKLrWaeetFbLRELjQy vMc5dc/8bnUzoZTErLPr6PytVF3+72nRR70hLMuO79mpB2CnGs2myzsooit+d8bABb3K 62lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=9vnO3goSf1P9Bu6CHs3GgacrTa6GT2XpjT399ptUd+s=; b=q8HIIkzxijqHhbIrKWaOIrMN2iUHzZC6OM31KPQFj+GPE4NJOEQuiu18I6BY7u2LlD W+DzNAbZ1YlvP3/PEtKuuvp58MUlP1Hgt5wmQlZmaedmoRT8ahH2U4vWtcAr/nO5ShvP VIz5g4B0Mu8GDvJn4oBJxO0XezvpWie9FqPyHNN6gi1fbOlVeNlMbxlsUwmDN6f5WW9W mwRwz/9fMMySk0QziH/+lpmWxwz87WaZb25Hf/bXfw0phmzjxAgzVz3gm2cdzkWpjTeB t4QcIq6d/ckpPIP9abwKXRDj6qpoYqGcwA87W5d24J7UZe2sN69t29RDqUKZkzJQ03mT ugYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g7si9800695edb.510.2022.02.07.18.45.50; Mon, 07 Feb 2022 18:46:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381331AbiBEXay (ORCPT + 99 others); Sat, 5 Feb 2022 18:30:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234211AbiBEXaw (ORCPT ); Sat, 5 Feb 2022 18:30:52 -0500 Received: from mx1.smtp.larsendata.com (mx1.smtp.larsendata.com [91.221.196.215]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3732BC061348 for ; Sat, 5 Feb 2022 15:30:52 -0800 (PST) Received: from mail01.mxhotel.dk (mail01.mxhotel.dk [91.221.196.236]) by mx1.smtp.larsendata.com (Halon) with ESMTPS id 0b99a305-852e-11ec-b20b-0050568c148b; Thu, 03 Feb 2022 20:15:35 +0000 (UTC) Received: from ravnborg.org (80-162-45-141-cable.dk.customer.tdc.net [80.162.45.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: sam@ravnborg.org) by mail01.mxhotel.dk (Postfix) with ESMTPSA id 32295194B90; Thu, 3 Feb 2022 21:14:32 +0100 (CET) Date: Thu, 3 Feb 2022 21:14:30 +0100 X-Report-Abuse-To: abuse@mxhotel.dk From: Sam Ravnborg To: Thomas Zimmermann Cc: thierry.reding@gmail.com, airlied@linux.ie, daniel@ffwll.ch, lyude@redhat.com, linus.walleij@linaro.org, dianders@chromium.org, ardb@kernel.org, naresh.kamboju@linaro.org, arnd@arndb.de, rdunlap@infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Linux Kernel Functional Testing Subject: Re: [PATCH v2] drm/panel: Select DRM_DP_HELPER for DRM_PANEL_EDP Message-ID: References: <20220203093922.20754-1-tzimmermann@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220203093922.20754-1-tzimmermann@suse.de> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 03, 2022 at 10:39:22AM +0100, Thomas Zimmermann wrote: > As reported in [1], DRM_PANEL_EDP depends on DRM_DP_HELPER. Select > the option to fix the build failure. The error message is shown > below. > > arm-linux-gnueabihf-ld: drivers/gpu/drm/panel/panel-edp.o: in function > `panel_edp_probe': panel-edp.c:(.text+0xb74): undefined reference to > `drm_panel_dp_aux_backlight' > make[1]: *** [/builds/linux/Makefile:1222: vmlinux] Error 1 > > The issue has been reported before, when DisplayPort helpers were > hidden behind the option CONFIG_DRM_KMS_HELPER. [2] > > v2: > * fix and expand commit description (Arnd) > > Signed-off-by: Thomas Zimmermann > Fixes: adb9d5a2cc77 ("drm/dp: Move DisplayPort helpers into separate helper module") > Fixes: 5f04e7ce392d ("drm/panel-edp: Split eDP panels out of panel-simple") > Reported-by: Naresh Kamboju > Reported-by: Linux Kernel Functional Testing > Link: https://lore.kernel.org/dri-devel/CA+G9fYvN0NyaVkRQmA1O6rX7H8PPaZrUAD7=RDy33QY9rUU-9g@mail.gmail.com/ # [1] > Link: https://lore.kernel.org/all/20211117062704.14671-1-rdunlap@infradead.org/ # [2] > Cc: Thomas Zimmermann > Cc: Lyude Paul > Cc: Daniel Vetter > Cc: Maarten Lankhorst > Cc: Maxime Ripard > Cc: dri-devel@lists.freedesktop.org Acked-by: Sam Ravnborg > --- > drivers/gpu/drm/panel/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig > index 434c2861bb40..0aec5a10b064 100644 > --- a/drivers/gpu/drm/panel/Kconfig > +++ b/drivers/gpu/drm/panel/Kconfig > @@ -106,6 +106,7 @@ config DRM_PANEL_EDP > depends on PM > select VIDEOMODE_HELPERS > select DRM_DP_AUX_BUS > + select DRM_DP_HELPER > help > DRM panel driver for dumb eDP panels that need at most a regulator and > a GPIO to be powered up. Optionally a backlight can be attached so > -- > 2.34.1