Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp24147244rwd; Sat, 1 Jul 2023 13:37:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlEckfxAW/uakn4icy61wb2jBOnGD448phxJKQn6P7olK2W8lpHVfN2Lout6Lc/BH70JDTMb X-Received: by 2002:a17:903:1c5:b0:1b8:6a09:9cf9 with SMTP id e5-20020a17090301c500b001b86a099cf9mr7864166plh.26.1688243854133; Sat, 01 Jul 2023 13:37:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688243854; cv=none; d=google.com; s=arc-20160816; b=UuZVL6imJtZhTGhEVJhoShEReZ+QwoYCvMKM7mlz2s8Besq/8eWU+J1tZX+rXVjSoA wwYV+ysakX5Z5vGhCTHYT3xNbbRUrvEeJLhZBRJRgrJ3hbM8hD0/dwX2bWZ2IOJRXAwU IKJGoXWrOybEbUu1t101Es/gOS8i3qRK8IAlqCCWpQJjViagvO1qpXjmMRJ3bqQJQEGg UdQ+InXedSTlPAXnBO7g+EGJGzBFyAILGRJXR7DYEZSXmGQYeczwdnq+48MqWwtiHMQc gZrzKWdyimA2z4K8oeS6spFp66lWpNcamw8ryat2JiArTzYm1gZWUSvBxEhaLrctBwKN 8toA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=6dCnl4ZTF8uORmf2fPXyceI7W8KdAWxXDE+eMKfbdsc=; fh=Yv4ioyZxhPNdWwsak804O7c3rvtLyZUZaEFY3G9IEO0=; b=yEGfJoVIms4uaGBBRwVlaGEmaXWrOkYhGUWDCMWTDaR2UI5OGL6Xg+Ai+Isrd5bP/5 SBCfMXJEYCMS+jrT+FdqL23FtlqdlLrSxi7aob9eftSiTXrX3yiEoFqYCbb3Cn21PMjd hv1d8j84eSd0ltckdEZEe6xrsIOsxTVceM1543hLyov8KTeUq+WgngdnMaLCsaeK8cJw Dw2G53F2D+BNxg27nDNnP0k0AF3apgyWUCs6qhOKSmMTXLA6HC8tEdGbxWPrIjflLRO1 KKMbs9GU1lQ1N7blQTzWMs+KkufxkZVJDobjx78W7GvXBqd81sJhawL2wwvDnHp/69QI I64w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=EuPIMuji; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=lNLk9ZpK; 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 i11-20020a17090332cb00b001b53dfb85c4si12757618plr.606.2023.07.01.13.37.21; Sat, 01 Jul 2023 13:37:34 -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=@arndb.de header.s=fm1 header.b=EuPIMuji; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=lNLk9ZpK; 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 S229772AbjGATug (ORCPT + 99 others); Sat, 1 Jul 2023 15:50:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbjGATuf (ORCPT ); Sat, 1 Jul 2023 15:50:35 -0400 Received: from wnew1-smtp.messagingengine.com (wnew1-smtp.messagingengine.com [64.147.123.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92DE2126; Sat, 1 Jul 2023 12:50:33 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailnew.west.internal (Postfix) with ESMTP id 878362B001A6; Sat, 1 Jul 2023 15:50:28 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Sat, 01 Jul 2023 15:50:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1688241028; x=1688248228; bh=6d Cnl4ZTF8uORmf2fPXyceI7W8KdAWxXDE+eMKfbdsc=; b=EuPIMujiOgmweN5zQ4 crII5t37NrRYoCFwz4GJsEYoKiAGWvT1g++SGSNqLDkEvTtMQCLftzB8zZ8iQiEc Tp5RvpBkZVIjB6ZZMeS2qCXCefqV/aROpQrh4BuXQc6n3voGGct0P2d82XfxnWTT u8cf5F91Wxo0ikIcjH1/1W5Uqbx+8XjJxGoiGNCze7gotZsEzFbEonoJzoSuckrv LRKn1bA5FFZoEXdHvrz/Y2FUUZrOStJaCDVjW/Txr+rC68+RuEeQ96UfhGdrotKX z7qKHmoP9u+3xMUWEJYm3WP2rXZ23NaID4aUT93u8cG2KtkeDF6bLTbDqJJHv4h4 W1Bw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1688241028; x=1688248228; bh=6dCnl4ZTF8uOR mf2fPXyceI7W8KdAWxXDE+eMKfbdsc=; b=lNLk9ZpKQ9qyqC/7+FaBoP8KOZ8C4 6Z2C8ka1Gru6VrqNUvo3gCUmuiWqCB56jEFH68ZHGbgd4Swlgqcv7cs32C1zodJg p9bBET9HQU/spwrIENIcD9bmgxUk6e8vKyJIWFgosVtsOd+UltkPnYSqNlTM3v/c HPoDxRKvGSJxxGnOVf0UilsmgfTdN/Q9r9cWB8w0SkMqMWRzxtI4SGP4ZYZYk5xU zxUeAjF8UR1DBQuDGAqGsfYep05Ip8VFE+rM0LXKOYh0nTovu2Z37cfTQoSYdAHC hUn57cMYqgDTjpRn0AttzGJzKbXbAFi6MWmZ4U8GMLwRBPZU9nPI2Z4Og== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrtdekgddufeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 68FE3B60086; Sat, 1 Jul 2023 15:50:26 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-499-gf27bbf33e2-fm-20230619.001-gf27bbf33 Mime-Version: 1.0 Message-Id: <956bbdce-c766-4fba-9a71-3d6a388b258b@app.fastmail.com> In-Reply-To: References: <20230629225113.297512-1-javierm@redhat.com> Date: Sat, 01 Jul 2023 21:49:56 +0200 From: "Arnd Bergmann" To: "Thomas Zimmermann" , "Javier Martinez Canillas" , linux-kernel@vger.kernel.org Cc: "Geert Uytterhoeven" , "Andy Shevchenko" , "Borislav Petkov" , "Daniel Vetter" , "Dave Hansen" , "Dave Airlie" , "Greg Kroah-Hartman" , "H. Peter Anvin" , "Helge Deller" , "Ingo Molnar" , "Maarten Lankhorst" , "Maxime Ripard" , "Randy Dunlap" , "Sam Ravnborg" , "Thomas Gleixner" , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH 0/2] Allow disabling all native fbdev drivers and only keeping DRM emulation Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Fri, Jun 30, 2023, at 13:19, Thomas Zimmermann wrote: > Am 30.06.23 um 00:51 schrieb Javier Martinez Canillas: >> This patch series splits the fbdev core support in two different Kconfig >> symbols: FB and FB_CORE. The motivation for this is to allow CONFIG_FB to >> be disabled, while still having the the core fbdev support needed for the >> CONFIG_DRM_FBDEV_EMULATION to be enabled. The motivation is automatically >> disabling all fbdev drivers instead of having to be disabled individually. >> >> The reason for doing this is that now with simpledrm, there's no need for >> the legacy fbdev (e.g: efifb or vesafb) drivers anymore and many distros >> now disable them. But it would simplify the config a lot fo have a single >> Kconfig symbol to disable all fbdev drivers. > > I still don't get the point of this change. We've disabled the fbdev > drivers once. And they are off now and remain off. > > The patchset now introduces FB_CORE, which just adds more options. But > you're not reducing the code or compile time or any thing similar. > > I'd like to suggest a change to these patches: rather then making FB and > DRM_FBDEV_EMULATION depend on FB_CORE, make them select FB_CORE. That > will allow the DRM subsystem to enable framebuffer emulation > independently from framebuffer devices. If either has been set, the > fbdev core will be selected. I agree with making FB_CORE a hidden option that gets selected by FB and DRM_FBDEV_EMULATION, without that we will get a whole lot of new build regressions for people that don't update their defconfigs, like we had when we removed the 'select FB' in DRM. Aside from that, the changes look very useful to me. Arnd