Re: [PATCH 1/3] dummycon: only build module if there are users

From
Arnd Bergmann <arnd@arndb.de>
Date
2025-02-26 13:19:08
Also in
dri-devel, lkml
Reply to
Javier Martinez Canillas, 2025-02-26
On Wed, Feb 26, 2025, at 13:05, Javier Martinez Canillas wrote:
"Arnd Bergmann" [off-list ref] writes:
quoted
in drivers/video/console, with the simpler alternative just
calling into fbcon functions. I'm not sure if we can already drop
vgacon from normal x86-64 distro configs, i.e. if there are cases
that are not already covered by any of efi-earlycon, efifb,
vga16fb, vesafb/uvesafb or a PCI DRM driver.
I believe vgacon is still useful for x86 with legacy BIOS, because
vesafb (and simpledrm) only works if the user defines a mode using
the vga= kernel cmdline parameter.
Right, at the minimum, a configuration without vgacon would
have to pick a graphical mode in arch/x86/boot/video*.c if one
wasn't already set by grub.

Looking through the git history of that code, it seems that there
are lots of corner cases with weird 32-bit hardware.
Anything from the past 20 years is probably reasonably safe,
but there still needs to be a way to configure vgacon back in
to be safe.

    Arnd
Thread (15 messages) 15 messages, 5 authors, last reply 2025-03-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help