[PATCH v5 3/6] drm: Move nomodeset kernel parameter to the DRM subsystem
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Fri Nov 19 11:08:49 UTC 2021
On Fri, Nov 19, 2021 at 11:20:13AM +0100, Javier Martinez Canillas wrote:
> [ adding gregkh to Cc list for drivers/video/console ]
>
> On 11/12/21 14:32, Javier Martinez Canillas wrote:
> > The "nomodeset" kernel cmdline parameter is handled by the vgacon driver
> > but the exported vgacon_text_force() symbol is only used by DRM drivers.
> >
> > It makes much more sense for the parameter logic to be in the subsystem
> > of the drivers that are making use of it.
> >
> > Let's move the vgacon_text_force() function and related logic to the DRM
> > subsystem. While doing that, rename it to drm_firmware_drivers_only() and
> > make it return true if "nomodeset" was used and false otherwise. This is
> > a better description of the condition that the drivers are testing for.
> >
> > Suggested-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> > Signed-off-by: Javier Martinez Canillas <javierm at redhat.com>
> > Acked-by: Thomas Zimmermann <tzimmermann at suse.de>
> > Acked-by: Jani Nikula <jani.nikula at intel.com>
> > Acked-by: Pekka Paalanen <pekka.paalanen at collabora.com>
> > ---
> >
>
> Greg, could I please get your ack for this patch ?
Acked-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
More information about the dri-devel
mailing list