Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp3746570rwl; Tue, 27 Dec 2022 14:33:41 -0800 (PST) X-Google-Smtp-Source: AMrXdXunt99CXATFiKei9VUz31Hcg+i6zhUaRz48RXtWz3TB7+3RJlcfLLpnkgm+Fsc6nIUv/T5g X-Received: by 2002:a05:6402:b8f:b0:46b:aedf:f32b with SMTP id cf15-20020a0564020b8f00b0046baedff32bmr24454533edb.4.1672180421260; Tue, 27 Dec 2022 14:33:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672180421; cv=none; d=google.com; s=arc-20160816; b=X2MkyA9Q/c9BXCD7ablFw1E1g36Widm8zooXuX3MHw4BP8U+y7ZCBr0Z4e6US3FPd7 6axpzA8zHDmRdlP/fJT9wr2p97Nr35E1SSFHmlj8zpQxuZkXWL0tJdOAWMhCmyGo+N4G g1nxUdLnwQUVSx3WMxDzZ1/qFIuXEHUNZvi2PXup1qm0/UTpFSJEDx7Pox6y0Z8mMtrh kKbe2lD4/gGGKyVTCrKIewRSH2tQbY0bmZaSaVDPy7o0aL94yjjZITz4zrsp7icG+UpB HmZqF5yOO2cWkURXXKjpkA/g26a6wRIPa5GjKuIyBkQmir0v0CL/wdZ6mk+AHy7x6zuA Fbsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=wKfVWCeRMNkUsYHVqq7Foag8x3Aajv5XLYA2nSfP1x0=; b=NnFayVpLtvNOejgrKvc5A9fxH+YvaHZmuAvhL8QBzOnwAVDUbk1avf9+kwu7U7A5ZA AIXfrjUUj2g0pAh7nEoJrnQnzbwTMOGRmTdZ96mCCgInAv2lRloVWJcBUSeD7SpsGRdH TRk3P4QrYSMzD6mFFRYFyU0C2Vxxl8sYS5jQSiOfeFgUctIWlkISogkaJklREIVkk+YL fvN7pK7uj2NnxU+3MacOlM/o7YKxOmxYcqXHC+YJd4+yw/oCgWEIRjWzavX7223arKWi 6jWNUnPCSaHCGcweishZHLztMNxkWPJn2QJrGE0eY3gPNIMaFKH7p9wvtJdXHPtmITM8 r+Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=DP1X3adL; 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=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f9-20020a056402354900b004772b115406si13556886edd.560.2022.12.27.14.33.25; Tue, 27 Dec 2022 14:33:41 -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; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=DP1X3adL; 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=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232023AbiL0VKl (ORCPT + 66 others); Tue, 27 Dec 2022 16:10:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232494AbiL0VJW (ORCPT ); Tue, 27 Dec 2022 16:09:22 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1B3B26D; Tue, 27 Dec 2022 13:07:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1672175221; bh=OL5WJhJ3/ioUTccUP2H6ZJHZm++nEKN5MiFWcaZshkI=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=DP1X3adLdzt3xnBG3I0B9VUWlDhKza6IbdAs40Qoe/bPk3oB4A+eZOBtyvYpW0ppF VKlADVUoLV255aRFH2P6g7Os4xXiKumbLF5yWAhXH6h0IpeuxIs0hsiyIgapKEfIpk Mr/7enpe72LseWOrkj3IG7rGXXGLRNgmbtEqCPJkM9667QYESkhYbLC7f5ugS883do w5wlWUPT0LlOyCXAMnTBZpSRkOHCHDZ1DFEyfp5HZMeH2SRqU0V4HT06AA+sPwMImI dtu9zVhJ2Tdnj3Jz0dCy05W1a4kFLd8W59zYAEX7cFq0kIs1/d40QIyrRkpbRiKEEg Kn45IwDeNEXlA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.20.60] ([92.116.190.3]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MrQJ5-1oX6Re0szP-00oYBV; Tue, 27 Dec 2022 22:07:01 +0100 Message-ID: Date: Tue, 27 Dec 2022 22:06:59 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH] fbdev: make offb driver tristate To: Nathan Chancellor Cc: Thomas Zimmermann , Randy Dunlap , linux-kernel@vger.kernel.org, Arnd Bergmann , Masahiro Yamada , =?UTF-8?Q?Michal_Such=c3=a1nek?= , linuxppc-dev@lists.ozlabs.org, Daniel Vetter , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, llvm@lists.linux.dev References: <20221126000401.25302-1-rdunlap@infradead.org> <46e8cf0d-ab47-59b1-6c87-53d2d63a5bf6@suse.de> Content-Language: en-US From: Helge Deller In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: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LZJ4Hfagb4S6XgT69FXReDu pmU6YXRpUtZQNzcqZ3A9mqEJPS8H35jtEqXcPR54RKvB+gPOlKqmyw4DEMc5O+Ew+og53U+LL MpDMGXwo0jV2Nu1DrSFMLj6Hw9g9KHRXCGYL6LdvIrIT1jl2QayH61cYho1wZiYKrCMhf+e4c gkwanbkBWZCZ56wz9awOPy+2nJk= X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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 12/27/22 19:48, Nathan Chancellor wrote: > On Sat, Dec 10, 2022 at 05:35:06PM +0100, Helge Deller wrote: >> On 11/26/22 14:40, Thomas Zimmermann wrote: >>> Am 26.11.22 um 01:04 schrieb Randy Dunlap: >>>> Make the offb (Open Firmware frame buffer) driver tristate, >>>> i.e., so that it can be built as a loadable module. >>>> >>>> However, it still depends on the setting of DRM_OFDRM >>>> so that both of these drivers cannot be builtin at the same time >>>> nor can one be builtin and the other one a loadable module. >>>> >>>> Build-tested successfully with all combination of DRM_OFDRM and FB_OF= . >>>> >>>> This fixes a build issue that Michal reported when FB_OF=3Dy and >>>> DRM_OFDRM=3Dm: >>>> >>>> powerpc64-linux-ld: drivers/video/fbdev/offb.o:(.data.rel.ro+0x58): u= ndefined reference to `cfb_fillrect' >>>> powerpc64-linux-ld: drivers/video/fbdev/offb.o:(.data.rel.ro+0x60): u= ndefined reference to `cfb_copyarea' >>>> powerpc64-linux-ld: drivers/video/fbdev/offb.o:(.data.rel.ro+0x68): u= ndefined reference to `cfb_imageblit' >>>> >>>> Signed-off-by: Randy Dunlap >>>> Suggested-by: Arnd Bergmann >>>> Cc: Masahiro Yamada >>>> Cc: Thomas Zimmermann >>>> Cc: Michal Such=C3=A1nek >>>> Cc: linuxppc-dev@lists.ozlabs.org >>>> Cc: Daniel Vetter >>>> Cc: Helge Deller >>>> Cc: linux-fbdev@vger.kernel.org >>>> Cc: dri-devel@lists.freedesktop.org >>> >>> Acked-by: Thomas Zimmermann >> >> applied. > > Is this going to make it to Linus soon? We are now seeing this error in > our CI, which has the configuration describe in this commit. > > https://github.com/ClangBuiltLinux/continuous-integration2/actions/runs/= 3785609002/jobs/6437398666#step:5:149 > > https://storage.tuxsuite.com/public/clangbuiltlinux/continuous-integrati= on2/builds/2JUMSmjAoSJoKfl6PPjfU66JGit/build.log It didn't applied cleanly earlier. I've now added it to the fbdev for-next branch, and if no problems show up in the next few days I'll push it before next weekend. https://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git/log= /?h=3Dfor-next Helge > Cheers, > Nathan > >>>> --- >>>> =C2=A0 drivers/video/fbdev/Kconfig |=C2=A0=C2=A0=C2=A0 4 ++-- >>>> =C2=A0 1 file changed, 2 insertions(+), 2 deletions(-) >>>> >>>> diff -- a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig >>>> --- a/drivers/video/fbdev/Kconfig >>>> +++ b/drivers/video/fbdev/Kconfig >>>> @@ -456,8 +456,8 @@ config FB_ATARI >>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 chipset found in Ataris. >>>> =C2=A0 config FB_OF >>>> -=C2=A0=C2=A0=C2=A0 bool "Open Firmware frame buffer device support" >>>> -=C2=A0=C2=A0=C2=A0 depends on (FB =3D y) && PPC && (!PPC_PSERIES || = PCI) >>>> +=C2=A0=C2=A0=C2=A0 tristate "Open Firmware frame buffer device suppo= rt" >>>> +=C2=A0=C2=A0=C2=A0 depends on FB && PPC && (!PPC_PSERIES || PCI) >>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 depends on !DRM_OFDRM >>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 select APERTURE_HELPERS >>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 select FB_CFB_FILLRECT >>> >> >>