1 # SPDX-License-Identifier: GPL-2.0-only
6 menu "Console display driver support"
9 bool "VGA text console" if EXPERT || !X86
10 depends on !4xx && !PPC_8xx && !SPARC && !M68K && !PARISC && !SUPERH && \
11 (!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) && \
12 !ARM64 && !ARC && !MICROBLAZE && !OPENRISC && !NDS32 && !S390
15 Saying Y here will allow you to use Linux in text mode through a
16 display that complies with the generic VGA standard. Virtually
19 The program SVGATextMode can be used to utilize SVGA video cards to
20 their full potential in text mode. Download it from
21 <ftp://ibiblio.org/pub/Linux/utils/console/>.
25 config VGACON_SOFT_SCROLLBACK
26 bool "Enable Scrollback Buffer in System RAM"
27 depends on VGA_CONSOLE
30 The scrollback buffer of the standard VGA console is located in
31 the VGA RAM. The size of this RAM is fixed and is quite small.
32 If you require a larger scrollback buffer, this can be placed in
33 System RAM which is dynamically allocated during initialization.
34 Placing the scrollback buffer in System RAM will slightly slow
37 If you want this feature, say 'Y' here and enter the amount of
38 RAM to allocate for this buffer. If unsure, say 'N'.
40 config VGACON_SOFT_SCROLLBACK_SIZE
41 int "Scrollback Buffer Size (in KB)"
42 depends on VGACON_SOFT_SCROLLBACK
46 Enter the amount of System RAM to allocate for scrollback
47 buffers of VGA consoles. Each 64KB will give you approximately
48 16 80x25 screenfuls of scrollback buffer.
50 config VGACON_SOFT_SCROLLBACK_PERSISTENT_ENABLE_BY_DEFAULT
51 bool "Persistent Scrollback History for each console by default"
52 depends on VGACON_SOFT_SCROLLBACK
55 Say Y here if the scrollback history should persist by default when
56 switching between consoles. Otherwise, the scrollback history will be
57 flushed each time the console is switched. This feature can also be
58 enabled using the boot command line parameter
59 'vgacon.scrollback_persistent=1'.
61 This feature might break your tool of choice to flush the scrollback
62 buffer, e.g. clear(1) will work fine but Debian's clear_console(1)
63 will be broken, which might cause security issues.
64 You can use the escape sequence \e[3J instead if this feature is
67 Note that a buffer of VGACON_SOFT_SCROLLBACK_SIZE is taken for each
69 So if you use a RAM-constrained system, say N here.
72 depends on !M68K && !PARISC && ISA
73 tristate "MDA text console (dual-headed)"
75 Say Y here if you have an old MDA or monochrome Hercules graphics
76 adapter in your system acting as a second head ( = video card). You
77 will then be able to use two monitors with your Linux system. Do not
78 say Y here if your MDA card is the primary card in your system; the
79 normal VGA driver will handle it.
81 To compile this driver as a module, choose M here: the
82 module will be called mdacon.
86 config SGI_NEWPORT_CONSOLE
87 tristate "SGI Newport Console support"
88 depends on SGI_IP22 && HAS_IOMEM
91 Say Y here if you want the console on the Newport aka XL graphics
92 card of your Indy. Most people say Y here.
98 config DUMMY_CONSOLE_COLUMNS
99 int "Initial number of console screen columns"
100 depends on DUMMY_CONSOLE && !ARM
101 default 160 if PARISC
104 On PA-RISC, the default value is 160, which should fit a 1280x1024
106 Select 80 if you use a 640x480 resolution by default.
108 config DUMMY_CONSOLE_ROWS
109 int "Initial number of console screen rows"
110 depends on DUMMY_CONSOLE && !ARM
114 On PA-RISC, the default value is 64, which should fit a 1280x1024
116 Select 25 if you use a 640x480 resolution by default.
118 config FRAMEBUFFER_CONSOLE
119 bool "Framebuffer Console support"
120 depends on FB && !UML
121 select VT_HW_CONSOLE_BINDING
125 Low-level framebuffer-based console driver.
127 config FRAMEBUFFER_CONSOLE_DETECT_PRIMARY
128 bool "Map the console to the primary display device"
129 depends on FRAMEBUFFER_CONSOLE
132 If this option is selected, the framebuffer console will
133 automatically select the primary display device (if the architecture
134 supports this feature). Otherwise, the framebuffer console will
135 always select the first framebuffer driver that is loaded. The latter
136 is the default behavior.
138 You can always override the automatic selection of the primary device
139 by using the fbcon=map: boot option.
143 config FRAMEBUFFER_CONSOLE_ROTATION
144 bool "Framebuffer Console Rotation"
145 depends on FRAMEBUFFER_CONSOLE
147 Enable display rotation for the framebuffer console. This is done
148 in software and may be significantly slower than a normally oriented
149 display. Note that the rotation is done at the console level only
150 such that other users of the framebuffer will remain normally
153 config FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER
154 bool "Framebuffer Console Deferred Takeover"
155 depends on FB=y && FRAMEBUFFER_CONSOLE && DUMMY_CONSOLE
157 If enabled this defers the framebuffer console taking over the
158 console from the dummy console until the first text is displayed on
159 the console. This is useful in combination with the "quiet" kernel
160 commandline option to keep the framebuffer contents initially put up
161 by the firmware in place, rather then replacing the contents with a
162 black screen as soon as fbcon loads.
165 bool "STI text console"
166 depends on PARISC && HAS_IOMEM
170 The STI console is the builtin display/keyboard on HP-PARISC
171 machines. Say Y here to build support for it into your kernel.
172 The alternative is to use your primary serial port as a console.