93604a5ade
Handle the command-line parameter video= in video/cmdline.c. Implement the fbdev helper fb_get_options() on top. Will allows to handle the kernel parameter in DRM without fbdev dependencies. Note that __video_get_options() has the meaning of its return value inverted compared to fb_get_options(). The new helper returns true if the adapter has been enabled, and false otherwise. There is the ofonly parameter, which disables output for non-OF-based framebuffers. It is only for offb and looks like a workaround. The actual purpose it not clear to me. Use 'video=off' or 'nomodeset' instead. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230209135509.7786-9-tzimmermann@suse.de
64 lines
913 B
Plaintext
64 lines
913 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_CMDLINE
|
|
bool
|
|
|
|
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
|