[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1c4aefef-df2a-497c-87d1-8f69af996515@suse.de>
Date: Wed, 26 Feb 2025 08:53:35 +0100
From: Thomas Zimmermann <tzimmermann@...e.de>
To: Arnd Bergmann <arnd@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Helge Deller <deller@....de>
Cc: Arnd Bergmann <arnd@...db.de>, linux-fbdev@...r.kernel.org,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] dummycon: only build module if there are users
Am 26.02.25 um 08:48 schrieb Thomas Zimmermann:
> Hi Arnd
>
> Am 25.02.25 um 17:44 schrieb Arnd Bergmann:
>> From: Arnd Bergmann <arnd@...db.de>
>>
>> Dummycon is used as a fallback conswitchp for vgacon and fbcon
>> in the VT code, and there are no references to it if all three
>> are disabled, so just leave it out of the kernel image for
>> configurations without those.
>>
>> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Reviewed-by: Thomas Zimmermann <tzimmermann@...e.de>
>> ---
>> drivers/video/console/Kconfig | 3 +--
>> 1 file changed, 1 insertion(+), 2 deletions(-)
>>
>> diff --git a/drivers/video/console/Kconfig
>> b/drivers/video/console/Kconfig
>> index bc31db6ef7d2..1c4263c164ce 100644
>> --- a/drivers/video/console/Kconfig
>> +++ b/drivers/video/console/Kconfig
>> @@ -47,8 +47,7 @@ config SGI_NEWPORT_CONSOLE
>> card of your Indy. Most people say Y here.
>> config DUMMY_CONSOLE
>> - bool
>> - default y
>> + def_bool VT || VGA_CONSOLE || FRAMEBUFFER_CONSOLE
>
> What about MDA_CONSOLE and STI_CONSOLE. Don't they require this as
> fallback?
I did some grepping in the kernel sources and found the answer to this
question. It's still surprising that the other consoles don't use
dummycon. They are never unloaded, it seems.
Best regards
Thomas
>
> Best regards
> Thomas
>
>> config DUMMY_CONSOLE_COLUMNS
>> int "Initial number of console screen columns"
>
--
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
Powered by blists - more mailing lists