Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp3561895rwl; Tue, 27 Dec 2022 11:03:10 -0800 (PST) X-Google-Smtp-Source: AMrXdXvEtKPJyHJitcuJU2RlbvIUK9NNqj/F/F2Lbexb2nvSaUuMHytPtQbNgTG8UU17VqymGw8b X-Received: by 2002:a17:906:30c9:b0:78d:f457:1052 with SMTP id b9-20020a17090630c900b0078df4571052mr18905414ejb.15.1672167790189; Tue, 27 Dec 2022 11:03:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672167790; cv=none; d=google.com; s=arc-20160816; b=fG34sHJuqJZ3KZZYQ+5TTENdoM6xnOQN8Y83JKJMtUWbvYxXjjWQ6w6rpOzbda54Rd ZLP1uK4cm1W+uJAGy0fPeeUjrFUK2qs+fwqb15SXWuu06i5dYDDgOR+cppwPssraJslN qwO5z9HuT8Dk2WLqjHXRbKF6GWq3UkdIUjve9FmHdIlIAA355Q8CK1gr4YWU5OMTLE7N khz7WzmJJu9u8SW+rl9ytMkAjYDUHYhzQKSTNR1B0ckA4d4XL7iCxLfAwpwZczGLd1Bz OhhJtuPbrDvB5PQJyJAEmANNn6Resa4F3FF8VcqFCEn7NNFRRvR4pAeLNZcIh+PbwbYi brIQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Roy47ap/qgiFRLnzOximcuUfbFQh1hxD6kKMrYnuUCU=; b=N5YLrRTtjkDOa6yVxBWjoKL77WwYDgqYrgpYPdPikiE5S+m9vEPs1oiTzmeXhHpyP9 6KuK94Wu1iWWfwoTXDcS/JYTzjFF0ZA3QpM2QQEz0df9Kva/zNmkEV02LwQEdRdTLHZh r0IDzHBruhvrBhAQeM7l72eJcf5DAG8yU7qjRo/lrXrD9eCGvveF7SgId1b4pLDUXHQp XnVAhUhXVk1189NG44+3EvXpeXQxJtv5b5QFsi5Ws/MWvuUcEyXs47RDIdDp3aZUHnJU p+zbBkK7YGXZG7Hcp2Jp27J2fZk5gLYw8C/PGNu6IGW/PLKD++nRdhhMfjFb/l+hzYrQ PoqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Lo1YFgc4; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mp33-20020a1709071b2100b007a71a3cb3afsi11929202ejc.294.2022.12.27.11.02.30; Tue, 27 Dec 2022 11:03:10 -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=@kernel.org header.s=k20201202 header.b=Lo1YFgc4; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230338AbiL0SsT (ORCPT + 66 others); Tue, 27 Dec 2022 13:48:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230354AbiL0SsQ (ORCPT ); Tue, 27 Dec 2022 13:48:16 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C086AD12A; Tue, 27 Dec 2022 10:48:15 -0800 (PST) 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 753DFB810AC; Tue, 27 Dec 2022 18:48:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D088C433D2; Tue, 27 Dec 2022 18:48:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672166893; bh=jC+G6KggctyJl19lPvX6acqHjopjAKeOdWYT4ODLTZU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Lo1YFgc4wMO579CEmwBJteC/WRWHqg6NmNoHdgr2Myntqw6NsJ/QboLSBLlG0/wQl GNxFtfJuBD1zNW0kzFB0gkOFhWDXP7vftCIm8u80vENUIrb/sF3LRupDlqdpM7mH8p Spu9aRXzzs5wSCaFWUx0HinsGxFdV1WgK4abqeTTyC4fyNYrPd6N5EXj06jxX81NYI hl8HBlrrxBvlWkP7lFICUXqtL7HIHU5/Fh8fT8AxhPEir4aAaHqYdTrPahC6IoZctI OOIVJmRn7TjXDhhk9ne82b53glBkRNIvZO4zUJaZWpWsVpawEz/rsxgxxNgnkOxk7w zNVuI+iJztoZw== Date: Tue, 27 Dec 2022 11:48:10 -0700 From: Nathan Chancellor To: Helge Deller Cc: Thomas Zimmermann , Randy Dunlap , linux-kernel@vger.kernel.org, Arnd Bergmann , Masahiro Yamada , Michal =?iso-8859-1?Q?Such=E1nek?= , linuxppc-dev@lists.ozlabs.org, Daniel Vetter , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, llvm@lists.linux.dev Subject: Re: [PATCH] fbdev: make offb driver tristate Message-ID: References: <20221126000401.25302-1-rdunlap@infradead.org> <46e8cf0d-ab47-59b1-6c87-53d2d63a5bf6@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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 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 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=y and > > > DRM_OFDRM=m: > > > > > > powerpc64-linux-ld: drivers/video/fbdev/offb.o:(.data.rel.ro+0x58): undefined reference to `cfb_fillrect' > > > powerpc64-linux-ld: drivers/video/fbdev/offb.o:(.data.rel.ro+0x60): undefined reference to `cfb_copyarea' > > > powerpc64-linux-ld: drivers/video/fbdev/offb.o:(.data.rel.ro+0x68): undefined reference to `cfb_imageblit' > > > > > > Signed-off-by: Randy Dunlap > > > Suggested-by: Arnd Bergmann > > > Cc: Masahiro Yamada > > > Cc: Thomas Zimmermann > > > Cc: Michal Such?nek > > > 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-integration2/builds/2JUMSmjAoSJoKfl6PPjfU66JGit/build.log Cheers, Nathan > > > --- > > > ? drivers/video/fbdev/Kconfig |??? 4 ++-- > > > ? 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 > > > ??????? chipset found in Ataris. > > > ? config FB_OF > > > -??? bool "Open Firmware frame buffer device support" > > > -??? depends on (FB = y) && PPC && (!PPC_PSERIES || PCI) > > > +??? tristate "Open Firmware frame buffer device support" > > > +??? depends on FB && PPC && (!PPC_PSERIES || PCI) > > > ????? depends on !DRM_OFDRM > > > ????? select APERTURE_HELPERS > > > ????? select FB_CFB_FILLRECT > > > >