mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 07:33:56 +00:00
0ba2fa8cbd
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
59 lines
1.5 KiB
Plaintext
59 lines
1.5 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Geode family framebuffer configuration
|
|
#
|
|
config FB_GEODE
|
|
bool "AMD Geode family framebuffer support"
|
|
depends on FB && PCI && (X86_32 || (X86 && COMPILE_TEST))
|
|
help
|
|
Say 'Y' here to allow you to select framebuffer drivers for
|
|
the AMD Geode family of processors.
|
|
|
|
config FB_GEODE_LX
|
|
tristate "AMD Geode LX framebuffer support"
|
|
depends on FB && FB_GEODE
|
|
select FB_CFB_FILLRECT
|
|
select FB_CFB_COPYAREA
|
|
select FB_CFB_IMAGEBLIT
|
|
select VIDEO_NOMODESET
|
|
help
|
|
Framebuffer driver for the display controller integrated into the
|
|
AMD Geode LX processors.
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
be called lxfb.
|
|
|
|
If unsure, say N.
|
|
|
|
config FB_GEODE_GX
|
|
tristate "AMD Geode GX framebuffer support"
|
|
depends on FB && FB_GEODE
|
|
select FB_CFB_FILLRECT
|
|
select FB_CFB_COPYAREA
|
|
select FB_CFB_IMAGEBLIT
|
|
select VIDEO_NOMODESET
|
|
help
|
|
Framebuffer driver for the display controller integrated into the
|
|
AMD Geode GX processors.
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
called gxfb.
|
|
|
|
If unsure, say N.
|
|
|
|
config FB_GEODE_GX1
|
|
tristate "AMD Geode GX1 framebuffer support"
|
|
depends on FB && FB_GEODE
|
|
select FB_CFB_FILLRECT
|
|
select FB_CFB_COPYAREA
|
|
select FB_CFB_IMAGEBLIT
|
|
select VIDEO_NOMODESET
|
|
help
|
|
Framebuffer driver for the display controller integrated into the
|
|
AMD Geode GX1 processor.
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
called gx1fb.
|
|
|
|
If unsure, say N.
|