Re: [PATCH] drm: fix up fbdev Kconfig defaults
flat view
From: Javier Martinez Canillas <javierm@redhat.com>
Date: 2023-09-12 07:56:24
Also in:
dri-devel, lkml
"Arnd Bergmann" [off-list ref] writes:
On Tue, Sep 12, 2023, at 09:14, Geert Uytterhoeven wrote:quoted
On Mon, Sep 11, 2023 at 10:53 PM Arnd Bergmann [off-list ref] 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.
quoted
quoted
diff --git a/drivers/video/fbdev/core/Kconfig b/drivers/video/fbdev/core/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 FBChanging 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
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat