linux/drivers/gpu/drm/mgag200
Javier Martinez Canillas 6a2d2ddf2c
drm: Move nomodeset kernel parameter to the DRM subsystem
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@ffwll.ch>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20211112133230.1595307-4-javierm@redhat.com
2021-11-27 13:52:22 +01:00
..
Kconfig
Makefile drm/mgag200: Abstract pixel PLL via struct mgag200_pll 2021-08-08 20:14:05 +02:00
mgag200_drv.c drm: Move nomodeset kernel parameter to the DRM subsystem 2021-11-27 13:52:22 +01:00
mgag200_drv.h drm/mgag200: Use managed interfaces for framebuffer write combining 2021-09-23 09:26:09 +02:00
mgag200_i2c.c drm/mgag200: Remove references to struct drm_device.pdev 2021-01-06 15:43:13 +01:00
mgag200_mm.c drm/mgag200: Use managed interfaces for framebuffer write combining 2021-09-23 09:26:09 +02:00
mgag200_mode.c drm/format-helper: Rework format-helper memcpy functions 2021-11-11 12:06:57 +01:00
mgag200_pll.c drm/mgag200: Fix uninitialized variable delta 2021-08-18 20:47:59 +02:00
mgag200_reg.h drm/mgag200: Select clock in PLL update functions 2021-08-08 20:13:10 +02:00