Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2424022rdb; Tue, 12 Sep 2023 01:01:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHBDIsBXU09ospWm8xkgGgyzaJSrKVS6y2+ichxEDzHNEZmZ8xp0i25LPBUTJlhP5zQ9oEH X-Received: by 2002:a05:6a20:3259:b0:153:dff0:c998 with SMTP id hm25-20020a056a20325900b00153dff0c998mr11792745pzc.6.1694505710520; Tue, 12 Sep 2023 01:01:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694505710; cv=none; d=google.com; s=arc-20160816; b=KGx+xnypFwV+ppDute/g2wJmTnZai5EuWg6dyjajw9AbA74AmFeL4NSS+x60a1Ka9P pf8iQd/Bfnp+4ox4Ty+1li66T2niCJ5cawB2LBi/tUJyPD0vZxgSdm6HE/WdX1Y3p7yQ 5oH1+f2S9Q7t0CwohkJ5lXpv0nwByC73wj4In5UjXxMN2d7LoZtZaNo0NJQIsdJOpEYK l0SZGHd0lcm9t5gyIY/f/bP1Euh6TkWQBc0DLRgpQr8+IQSVdzr99fRkG+EnSOoZzOku KxAfTozsVJ+wcMXUCiqnyCbCijNKqD4cHYH4DFwYL574BPDdL55wnH1wRdMk6XTqzLzw lRLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=x6EtKeJ8Fl2CPlsqoDZCiTeQu7RXnApXQXlT1M5EOII=; fh=pP/xso+Z0tEpItFVDxFN0rYFoX+ecOCnOBGUPP5CvJA=; b=DXrA3xuBwE4+RXZ3B8IerpE4URCPUW4yoFdZZUHEqYdHOKF/gh2UUIcPgU/QL1ryJy uYIY1bZPp69U88xy39QQArx2JGZ1V34AHmpy7PXSklsRgNGazpZYILvTpXUUhbmrx2Qk cQWdecTAIltdQ18z24yWXMoNPtEWwx5I1ERPEW/UpQ1xzSBIlOr+BM1B1u0gspoqVlx4 wiQYV/7RPMXC6UYeUbvwEGR9BgUevoU6L66hD4bGAl1XDe5W+B595qiCu0jnAUjUfh/k C1ebdsexHhDDUcscJBk95sp3Kist3me3GxScoli11sG4TTMghItddAbd0ACStLG3E0k7 x2Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="J5nmL6V/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id bt13-20020a056a00438d00b0068fcca7b3f7si2384981pfb.2.2023.09.12.01.01.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 01:01:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="J5nmL6V/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id CB62A80A32F5; Tue, 12 Sep 2023 00:56:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231817AbjILH4Z (ORCPT + 99 others); Tue, 12 Sep 2023 03:56:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231826AbjILH4Q (ORCPT ); Tue, 12 Sep 2023 03:56:16 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 433D5E78 for ; Tue, 12 Sep 2023 00:55:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1694505325; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=x6EtKeJ8Fl2CPlsqoDZCiTeQu7RXnApXQXlT1M5EOII=; b=J5nmL6V/hmGD0bKhyRfqDeMcmPRAIheD9EPRrWXCz7V95RXjmzszmecTuYaNW+qXAG7Tk2 qgfC6aT1vmXCFmXGZVYB3HjYj1v/is3AT03VPatbslCmISl5Evbexz/hxJ74rTVNxZko88 Nj6gvmed23frS8jgNhIDlpW+dqIZhA8= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-613-YiahR5arM3uPX45f55VVsQ-1; Tue, 12 Sep 2023 03:55:24 -0400 X-MC-Unique: YiahR5arM3uPX45f55VVsQ-1 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-402493d2997so38335475e9.0 for ; Tue, 12 Sep 2023 00:55:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694505323; x=1695110123; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=x6EtKeJ8Fl2CPlsqoDZCiTeQu7RXnApXQXlT1M5EOII=; b=VyyfeIblZ9b5/4ABvKlyaPDclSNg6UNDpVxJSeJgR5gVFGxZy5g0jfZNM5p5/Gxh9c VJTeHUEXs5cMttijMP3Tok+6fa0b4TO2QkpoSslwGdqVpDBbxZTUNn61qvonVu3Ubss7 bSg6m55UHiWr8cMzPcXwNYApVNGyAbuk3TQrN8nAoL1H8y8fcXDQV7nRK8s+bLlIFr5b zAqlHf3HYgdhZGDFyjHstd6XhKz/+ZYFeM5VLdDQ1Zrob1vaeJl6H/L8y2wOQUHY/ibv EO9kOX4a3rYs2YhmNVwlVlbxRDlOYe7tzz1vlK2D1FKBsb95eHvtVc5wPvAh8d6ZuCJO fRYQ== X-Gm-Message-State: AOJu0YxXFCXmY75uHRghpm1i5WVkaPfyM84nBb/M08DRYyH3GG/Xv3mb TwjMIelWVdAUlvhLB5lwbxEbl7v8e4odlVhAYVFDRdz1wsoD+U/cyYUl94u51EXbDix5jLdx7zg 5J1f0SWeYQwNv4TSTT54a7GOG X-Received: by 2002:a05:600c:2946:b0:3f9:c82e:9d87 with SMTP id n6-20020a05600c294600b003f9c82e9d87mr10082569wmd.13.1694505322760; Tue, 12 Sep 2023 00:55:22 -0700 (PDT) X-Received: by 2002:a05:600c:2946:b0:3f9:c82e:9d87 with SMTP id n6-20020a05600c294600b003f9c82e9d87mr10082545wmd.13.1694505322409; Tue, 12 Sep 2023 00:55:22 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id p11-20020a1c740b000000b003ff013a4fd9sm12173082wmc.7.2023.09.12.00.55.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 00:55:22 -0700 (PDT) From: Javier Martinez Canillas To: Arnd Bergmann , Geert Uytterhoeven , Arnd Bergmann Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Dave Airlie , Daniel Vetter , Greg Kroah-Hartman , Helge Deller , Christian =?utf-8?Q?K=C3=B6nig?= , Dave Airlie , Jim Cromie , Sam Ravnborg , Arthur Grillo , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org Subject: Re: [PATCH] drm: fix up fbdev Kconfig defaults In-Reply-To: References: <20230911205338.2385278-1-arnd@kernel.org> Date: Tue, 12 Sep 2023 09:55:21 +0200 Message-ID: <877cov3jx2.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 12 Sep 2023 00:56:32 -0700 (PDT) X-Spam-Status: No, score=-2.0 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email "Arnd Bergmann" writes: > On Tue, Sep 12, 2023, at 09:14, Geert Uytterhoeven wrote: >> On Mon, Sep 11, 2023 at 10:53=E2=80=AFPM Arnd Bergmann = wrote: [...] > > The only alternative I can think of would be to default-enable > or force-enable FRAMEBUFFER_CONSOLE for any config that includes > both VT_CONSOLE and FB_CORE. This would increase defconfig > builds for systems that currently only want CONFIG_FB for > either FB_DEVICE or LOGO but don't care about > FRAMEBUFFER_CONSOLE. I have no idea who uses such a config, > but I think Javier previously said this was an important > use case. > Yes, IMO that should be a possible combination. >>> diff --git a/drivers/video/fbdev/core/Kconfig b/drivers/video/fbdev/cor= e/Kconfig >>> index 114cb8aa6c8fd..804c2bec9b43c 100644 >>> --- a/drivers/video/fbdev/core/Kconfig >>> +++ b/drivers/video/fbdev/core/Kconfig >>> @@ -28,7 +28,7 @@ config FIRMWARE_EDID >>> config FB_DEVICE >>> bool "Provide legacy /dev/fb* device" >>> depends on FB_CORE >>> - default y >>> + default FB >> >> Changing this means possibly causing regressions on systems running >> an fbdev userspace. > > How? FB_DEVICE is a new config that was just split out from > CONFIG_FB in 6.6-rc1, so nobody should have any defconfig > that disables CONFIG_FB but relies on the FB_DEVICE default yet. > Ah, scratch my previous comment about making this default 'y' then. For some reasons I thought that FB_DEVICE was added in v6.5 but see now that commit 701d2054fa31 ("fbdev: Make support for userspace interfaces configurable") landed in v6.6-rc1: $ git tag --contains 701d2054fa31 | tail -1 v6.6-rc1 --=20 Best regards, Javier Martinez Canillas Core Platforms Red Hat