Message ID | 20211112133230.1595307-1-javierm@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | Cleanups for the nomodeset kernel command line parameter logic | expand |
On 11/12/21 14:32, Javier Martinez Canillas wrote: > 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. > I have pushed these patches to the drm-misc-next branch. Thanks a lot everyone for the help with this series! Best regards,