[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7047ccc5-0927-f304-4d60-181d61344f8b@redhat.com>
Date: Mon, 8 Nov 2021 13:54:14 +0100
From: Javier Martinez Canillas <javierm@...hat.com>
To: Thomas Zimmermann <tzimmermann@...e.de>,
linux-kernel@...r.kernel.org
Cc: Pekka Paalanen <pekka.paalanen@...labora.com>,
Jani Nikula <jani.nikula@...el.com>,
Daniel Vetter <daniel.vetter@...ll.ch>,
Michel Dänzer <michel@...nzer.net>,
dri-devel@...ts.freedesktop.org,
Peter Robinson <pbrobinson@...il.com>
Subject: Re: [PATCH v3 0/6] Cleanups for the nomodeset kernel command line
parameter logic
Hello Thomas,
On 11/8/21 13:50, Thomas Zimmermann wrote:
> Hi
>
> Am 08.11.21 um 13:15 schrieb Javier Martinez Canillas:
>> There is a lot of historical baggage on this parameter. It is defined in
>> the vgacon driver as nomodeset, but its set function is called text_mode()
>> and the value queried with a function named vgacon_text_force().
>>
>> All this implies that it's about forcing text mode for VGA, yet it is not
>> used in neither vgacon nor other console driver. The only users for these
>> are DRM drivers, that check for the vgacon_text_force() return value to
>> determine whether the driver should be loaded or not.
>>
>> That makes it quite confusing to read the code, because the variables and
>> function names don't reflect what they actually do and also are not in the
>> same subsystem as the drivers that make use of them.
>>
>> This patch-set attempts to cleanup the code by moving the nomodseset param
>> to the DRM subsystem and do some renaming to make their intention clearer.
>>
>> This is a v3 of the patches, that address issues pointed out by Jani Nikula
>> in v2: https://lkml.org/lkml/2021/11/4/594
>>
>> Patch #1 and #2 are just trivial cleanups.
>>
>> Patch #3 moves the nomodeset boot option to the DRM subsystem and renames
>> the variables and functions names.
>>
>> Patch #4 removes the relationship between the nomodeset parameter and the
>> CONFIG_VGA_CONSOLE Kconfig symbol.
>
> On patches 1 to 4
>
> Acked-by: Thomas Zimmermann <tzimmermann@...e.de>
>
Thanks!
>>
>> Patch #5 adds nomodeset to the kernel parameters documentation.
>>
>> Patch #6 improves the message when nomodeset is enabled to make it more
>> accurate and less sensational.
>
> See my comments on these patches.
>
Yes, agreed with your feedback on these. I'll improve it when posting a v4.
Best regards, --
Javier Martinez Canillas
Linux Engineering
Red Hat
Powered by blists - more mailing lists