linux/drivers/video/fbdev/matrox
Thomas Zimmermann 0ba2fa8cbd fbdev: Add support for the nomodeset kernel parameter
Support the kernel's nomodeset parameter for all PCI-based fbdev
drivers that use aperture helpers to remove other, hardware-agnostic
graphics drivers.

The parameter is a simple way of using the firmware-provided scanout
buffer if the hardware's native driver is broken. The same effect
could be achieved with per-driver options, but the importance of the
graphics output for many users makes a single, unified approach
worthwhile.

With nomodeset specified, the fbdev driver module will not load. This
unifies behavior with similar DRM drivers. In DRM helpers, modules
first check the nomodeset parameter before registering the PCI
driver. As fbdev has no such module helpers, we have to modify each
driver individually.

The name 'nomodeset' is slightly misleading, but has been chosen for
historical reasons. Several drivers implemented it before it became a
general option for DRM. So keeping the existing name was preferred over
introducing a new one.

v2:
	* print a warning if a driver does not init (Helge)
	* wrap video_firmware_drivers_only() in helper

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221111133024.9897-3-tzimmermann@suse.de
2022-11-16 13:26:25 +01:00
..
g450_pll.c video: fbdev: matroxfb: remove dead code and set but not used variable 2020-04-08 12:09:10 +02:00
g450_pll.h
i2c-matroxfb.c video: fbdev: matrox: convert to i2c_new_scanned_device 2019-11-28 17:19:20 +01:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
matroxfb_accel.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
matroxfb_accel.h
matroxfb_base.c fbdev: Add support for the nomodeset kernel parameter 2022-11-16 13:26:25 +01:00
matroxfb_base.h video: fbdev: aty/matrox/...: Prepare cleanup of powerpc's asm/prom.h 2022-04-04 08:55:23 +02:00
matroxfb_crtc2.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
matroxfb_crtc2.h
matroxfb_DAC1064.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
matroxfb_DAC1064.h
matroxfb_g450.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
matroxfb_g450.h
matroxfb_maven.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
matroxfb_maven.h
matroxfb_misc.c fbdev: matrox: make array wtst_xlat static const, makes object smaller 2020-01-03 14:27:47 +01:00
matroxfb_misc.h
matroxfb_Ti3026.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
matroxfb_Ti3026.h