mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 13:41:55 +00:00
9a758d8756
Move the nomodeset kernel parameter to drivers/video to make it available to non-DRM drivers. Adapt the interface, but keep the DRM interface drm_firmware_drivers_only() to avoid churn within DRM. The function should later be inlined into callers. The parameter disables any DRM graphics driver that would replace a driver for firmware-provided scanout buffers. It is an option to easily fallback to basic graphics output if the hardware's native driver is broken. Moving it to a more prominent location wil make it available to fbdev as well. v2: * clarify the meaning of the nomodeset parameter (Javier) 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-2-tzimmermann@suse.de
61 lines
885 B
Plaintext
61 lines
885 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Video configuration
|
|
#
|
|
|
|
menu "Graphics support"
|
|
|
|
config APERTURE_HELPERS
|
|
bool
|
|
help
|
|
Support tracking and hand-over of aperture ownership. Required
|
|
by graphics drivers for firmware-provided framebuffers.
|
|
|
|
config VIDEO_NOMODESET
|
|
bool
|
|
default n
|
|
|
|
if HAS_IOMEM
|
|
|
|
config HAVE_FB_ATMEL
|
|
bool
|
|
|
|
source "drivers/char/agp/Kconfig"
|
|
|
|
source "drivers/gpu/vga/Kconfig"
|
|
|
|
source "drivers/gpu/host1x/Kconfig"
|
|
source "drivers/gpu/ipu-v3/Kconfig"
|
|
|
|
source "drivers/gpu/drm/Kconfig"
|
|
|
|
menu "Frame buffer Devices"
|
|
source "drivers/video/fbdev/Kconfig"
|
|
endmenu
|
|
|
|
source "drivers/video/backlight/Kconfig"
|
|
|
|
config VGASTATE
|
|
tristate
|
|
default n
|
|
|
|
config VIDEOMODE_HELPERS
|
|
bool
|
|
|
|
config HDMI
|
|
bool
|
|
|
|
endif # HAS_IOMEM
|
|
|
|
if VT
|
|
source "drivers/video/console/Kconfig"
|
|
endif
|
|
|
|
if FB || SGI_NEWPORT_CONSOLE
|
|
source "drivers/video/logo/Kconfig"
|
|
|
|
endif
|
|
|
|
|
|
endmenu
|