Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp1347103rwa; Sun, 21 Aug 2022 06:36:59 -0700 (PDT) X-Google-Smtp-Source: AA6agR5cRDmEU0Q28NBhEjUMmJFtnWST5hmnq2hk3TKq6t4xu22ULBXk7dfLXpmCzuDBSq1jzSFc X-Received: by 2002:a17:90b:1d0b:b0:1f5:6554:d556 with SMTP id on11-20020a17090b1d0b00b001f56554d556mr18261322pjb.168.1661089018135; Sun, 21 Aug 2022 06:36:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661089018; cv=none; d=google.com; s=arc-20160816; b=oyILczwIUfGZ5iiesZqMN/tRpWKHvw3RnD4geypeo3jef5Ae4Z8iargdr704FEHdf1 wTLWwJ+E4kh901mwg+2SL4Sjec/vbirjHBiY0xRoNv28MROnUXZA7M32aI6/unMvoVls uW26HmbPBKenNE/5aj+68sg4d/levHboxaRv6nC/WSJDRJYQsIbbO4v55lbpjutny2db LIz54KVSX1ty2Bg3xyfB0Rwl4DTP16Zg6iA7chAssiDI6Q/4MhohYXtDBViBc9RLI5Lz i75YF8bL+D5YXVfu5iiZkRvOtCqkIgANisrM1UeAFzgBSVMyW7SbudXlwn1+W7eY3jRC hAgg== 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:dkim-signature; bh=7V2j2uTQzLze7A2sDkxvOQqNYTTNxUBwKEmgIBshILM=; b=aLf/K8xkFTA67pjiXcY2bhHnYV6LY9Re0/wf189uqon+YXmeDmSZCUJa78DhU+OAvo 2hcnGHYrm/yaDS+Lu9mDQBY4MO3WZQgz6OmuGh+myeKwAkoqYgpP26Uk0PhrhtWxJBJ+ mI+VdS/RUod2FQ0ex1+eLfFjvpCKftoAAQu4iCMGKUIsTczuIhaZILtlFDz31Riui3M3 Cch02G8ihngBXvJ7m+gm48GsmxEtfvqCxXdsif4L/WzgUFKRnHeiJgRmbifVBWmKdl1G WwpOo45R5AFCD7z4nRpSuEWl8MUqIyCcXvoipAGve3wHRcZh7VHBPSltf/ZpDS4ZHRCe ot/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gCLDcUMe; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q11-20020a65684b000000b0041ccbc553d9si10317944pgt.485.2022.08.21.06.36.47; Sun, 21 Aug 2022 06:36:58 -0700 (PDT) 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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gCLDcUMe; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229652AbiHUNXA (ORCPT + 99 others); Sun, 21 Aug 2022 09:23:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbiHUNW6 (ORCPT ); Sun, 21 Aug 2022 09:22:58 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D16961D0C6; Sun, 21 Aug 2022 06:22:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 6D418B80D55; Sun, 21 Aug 2022 13:22:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0B3CC433D6; Sun, 21 Aug 2022 13:22:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661088175; bh=uY1Bc6u8IJRS5yHXdFsUKDWlNwYjZsaz1+eyGUsklY8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gCLDcUMef1cPpYwTQGiowCEsA0MBZNL5iQHJPHDUrjRKjtgWnRWM6FmHKH+iZ7IgP RW0kKyoqZR8ZGSUf5Fdf7UGCe78hXHH3o9PWvU027w/cQvFAbwYDIk+AIjo0IP7PaS lbkdXwJ7gudfKN+T4goIVgw7iwJBWpoQdRcWkZjY= Date: Sun, 21 Aug 2022 15:22:52 +0200 From: Greg Kroah-Hartman To: Doug Anderson Cc: LKML , "# 4.0+" , Hulk Robot , Gao Chao , Sasha Levin , Thomas Zimmermann Subject: Re: [PATCH 5.18 0309/1095] drm/panel: Fix build error when CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20=y && CONFIG_DRM_DISPLAY_HELPER=m Message-ID: References: <20220815180429.240518113@linuxfoundation.org> <20220815180442.585574345@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,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 Wed, Aug 17, 2022 at 02:33:32PM -0700, Doug Anderson wrote: > Hi, > > On Mon, Aug 15, 2022 at 12:09 PM Greg Kroah-Hartman > wrote: > > > > From: Gao Chao > > > > [ Upstream commit a67664860f7833015a683ea295f7c79ac2901332 ] > > > > If CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20=y && CONFIG_DRM_DISPLAY_HELPER=m, > > bulding fails: > > > > drivers/gpu/drm/panel/panel-samsung-atna33xc20.o: In function `atana33xc20_probe': > > panel-samsung-atna33xc20.c:(.text+0x744): undefined reference to > > `drm_panel_dp_aux_backlight' > > make: *** [vmlinux] Error 1 > > > > Let CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20 select DRM_DISPLAY_DP_HELPER and > > CONFIG_DRM_DISPLAY_HELPER to fix this error. > > > > Fixes: 32ce3b320343 ("drm/panel: atna33xc20: Introduce the Samsung ATNA33XC20 panel") > > Reported-by: Hulk Robot > > Signed-off-by: Gao Chao > > Reviewed-by: Douglas Anderson > > Signed-off-by: Douglas Anderson > > Link: https://patchwork.freedesktop.org/patch/msgid/20220524024551.539-1-gaochao49@huawei.com > > Signed-off-by: Sasha Levin > > --- > > drivers/gpu/drm/panel/Kconfig | 2 ++ > > 1 file changed, 2 insertions(+) > > While it doesn't hurt to land this patch as-is on 5.18 and older > kernels, it's not quite right. The symbols that this patch 'select' > don't actually exist on 5.18. ;-) Doing a `git grep` of > `DRM_DISPLAY_DP_HELPER` shows no hits except the one introduced in > this patch... > > If you want the equivalent fix for v5.18 and older, I believe you'd want: > > select DRM_DP_HELPER > select DRM_KMS_HELPER > > See commit 3755d35ee1d2 ("drm/panel: Select DRM_DP_HELPER for > DRM_PANEL_EDP") and commit 3c3384050d68 ("drm: Don't make > DRM_PANEL_BRIDGE dependent on DRM_KMS_HELPERS") which added those for > the (very similar) panel-edp. > > The first of those is what got changed in v5.19 in commit 1e0f66420b13 > ("drm/display: Introduce a DRM display-helper module") > > So I guess the tl;dr: > > * If you leave this patch in 5.18 (and 5.15), nothing bad will happen > but the broken "randconfig" won't be fixed. > > * If you revert this patch in 5.18 (and 5.15) also nothing bad will > happen but also the broken "randconfig" won't be fixed. > > * If someone cares about the randconfig on 5.15 / 5.18, we need a > backport that adapts what's selected to the old symbol names. Thanks for letting us know, I'll leave it alone for now and see if anyone has problems. greg k-h