0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # Video configuration
0004 #
0005
0006 menu "Console display driver support"
0007
0008 config VGA_CONSOLE
0009 bool "VGA text console" if EXPERT || !X86
0010 depends on !4xx && !PPC_8xx && !SPARC && !M68K && !PARISC && !SUPERH && \
0011 (!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) && \
0012 !ARM64 && !ARC && !MICROBLAZE && !OPENRISC && !S390 && !UML
0013 select APERTURE_HELPERS if (DRM || FB || VFIO_PCI_CORE)
0014 default y
0015 help
0016 Saying Y here will allow you to use Linux in text mode through a
0017 display that complies with the generic VGA standard. Virtually
0018 everyone wants that.
0019
0020 The program SVGATextMode can be used to utilize SVGA video cards to
0021 their full potential in text mode. Download it from
0022 <ftp://ibiblio.org/pub/Linux/utils/console/>.
0023
0024 Say Y.
0025
0026 config MDA_CONSOLE
0027 depends on !M68K && !PARISC && ISA
0028 tristate "MDA text console (dual-headed)"
0029 help
0030 Say Y here if you have an old MDA or monochrome Hercules graphics
0031 adapter in your system acting as a second head ( = video card). You
0032 will then be able to use two monitors with your Linux system. Do not
0033 say Y here if your MDA card is the primary card in your system; the
0034 normal VGA driver will handle it.
0035
0036 To compile this driver as a module, choose M here: the
0037 module will be called mdacon.
0038
0039 If unsure, say N.
0040
0041 config SGI_NEWPORT_CONSOLE
0042 tristate "SGI Newport Console support"
0043 depends on SGI_IP22 && HAS_IOMEM
0044 select FONT_SUPPORT
0045 help
0046 Say Y here if you want the console on the Newport aka XL graphics
0047 card of your Indy. Most people say Y here.
0048
0049 config DUMMY_CONSOLE
0050 bool
0051 default y
0052
0053 config DUMMY_CONSOLE_COLUMNS
0054 int "Initial number of console screen columns"
0055 depends on DUMMY_CONSOLE && !ARM
0056 default 160 if PARISC
0057 default 80
0058 help
0059 On PA-RISC, the default value is 160, which should fit a 1280x1024
0060 monitor.
0061 Select 80 if you use a 640x480 resolution by default.
0062
0063 config DUMMY_CONSOLE_ROWS
0064 int "Initial number of console screen rows"
0065 depends on DUMMY_CONSOLE && !ARM
0066 default 64 if PARISC
0067 default 25
0068 help
0069 On PA-RISC, the default value is 64, which should fit a 1280x1024
0070 monitor.
0071 Select 25 if you use a 640x480 resolution by default.
0072
0073 config FRAMEBUFFER_CONSOLE
0074 bool "Framebuffer Console support"
0075 depends on FB && !UML
0076 select VT_HW_CONSOLE_BINDING
0077 select CRC32
0078 select FONT_SUPPORT
0079 help
0080 Low-level framebuffer-based console driver.
0081
0082 config FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION
0083 bool "Enable legacy fbcon hardware acceleration code"
0084 depends on FRAMEBUFFER_CONSOLE
0085 default y if PARISC
0086 default n
0087 help
0088 This option enables the fbcon (framebuffer text-based) hardware
0089 acceleration for graphics drivers which were written for the fbdev
0090 graphics interface.
0091
0092 On modern machines, on mainstream machines (like x86-64) or when
0093 using a modern Linux distribution those fbdev drivers usually aren't used.
0094 So enabling this option wouldn't have any effect, which is why you want
0095 to disable this option on such newer machines.
0096
0097 If you compile this kernel for older machines which still require the
0098 fbdev drivers, you may want to say Y.
0099
0100 If unsure, select n.
0101
0102 config FRAMEBUFFER_CONSOLE_DETECT_PRIMARY
0103 bool "Map the console to the primary display device"
0104 depends on FRAMEBUFFER_CONSOLE
0105 default n
0106 help
0107 If this option is selected, the framebuffer console will
0108 automatically select the primary display device (if the architecture
0109 supports this feature). Otherwise, the framebuffer console will
0110 always select the first framebuffer driver that is loaded. The latter
0111 is the default behavior.
0112
0113 You can always override the automatic selection of the primary device
0114 by using the fbcon=map: boot option.
0115
0116 If unsure, select n.
0117
0118 config FRAMEBUFFER_CONSOLE_ROTATION
0119 bool "Framebuffer Console Rotation"
0120 depends on FRAMEBUFFER_CONSOLE
0121 help
0122 Enable display rotation for the framebuffer console. This is done
0123 in software and may be significantly slower than a normally oriented
0124 display. Note that the rotation is done at the console level only
0125 such that other users of the framebuffer will remain normally
0126 oriented.
0127
0128 config FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER
0129 bool "Framebuffer Console Deferred Takeover"
0130 depends on FB=y && FRAMEBUFFER_CONSOLE && DUMMY_CONSOLE
0131 help
0132 If enabled this defers the framebuffer console taking over the
0133 console from the dummy console until the first text is displayed on
0134 the console. This is useful in combination with the "quiet" kernel
0135 commandline option to keep the framebuffer contents initially put up
0136 by the firmware in place, rather then replacing the contents with a
0137 black screen as soon as fbcon loads.
0138
0139 config STI_CONSOLE
0140 bool "STI text console"
0141 depends on PARISC && HAS_IOMEM
0142 select FONT_SUPPORT
0143 select CRC32
0144 default y
0145 help
0146 The STI console is the builtin display/keyboard on HP-PARISC
0147 machines. Say Y here to build support for it into your kernel.
0148 The alternative is to use your primary serial port as a console.
0149
0150 endmenu
0151