blob: 4110ba7d7ca9070f783c8e23aa55adca9f1247dc [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Video configuration
3#
4
5menu "Console display driver support"
6
7config VGA_CONSOLE
David Rientjes6a108a12011-01-20 14:44:16 -08008 bool "VGA text console" if EXPERT || !X86
Arnd Bergmanna687a532018-03-07 23:30:54 +01009 depends on !4xx && !PPC_8xx && !SPARC && !M68K && !PARISC && !SUPERH && \
Mark Brownee237942013-12-17 23:37:01 +000010 (!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) && \
Linus Torvaldsbecdce12018-04-09 09:04:10 -070011 !ARM64 && !ARC && !MICROBLAZE && !OPENRISC && !NDS32 && !S390
Linus Torvalds1da177e2005-04-16 15:20:36 -070012 default y
13 help
14 Saying Y here will allow you to use Linux in text mode through a
15 display that complies with the generic VGA standard. Virtually
16 everyone wants that.
17
18 The program SVGATextMode can be used to utilize SVGA video cards to
19 their full potential in text mode. Download it from
20 <ftp://ibiblio.org/pub/Linux/utils/console/>.
21
22 Say Y.
23
Antonino A. Daplas15bdab92006-03-27 01:17:20 -080024config VGACON_SOFT_SCROLLBACK
25 bool "Enable Scrollback Buffer in System RAM"
26 depends on VGA_CONSOLE
27 default n
28 help
29 The scrollback buffer of the standard VGA console is located in
30 the VGA RAM. The size of this RAM is fixed and is quite small.
31 If you require a larger scrollback buffer, this can be placed in
Matt LaPlante01dd2fb2007-10-20 01:34:40 +020032 System RAM which is dynamically allocated during initialization.
Antonino A. Daplas15bdab92006-03-27 01:17:20 -080033 Placing the scrollback buffer in System RAM will slightly slow
34 down the console.
35
36 If you want this feature, say 'Y' here and enter the amount of
37 RAM to allocate for this buffer. If unsure, say 'N'.
38
39config VGACON_SOFT_SCROLLBACK_SIZE
40 int "Scrollback Buffer Size (in KB)"
41 depends on VGACON_SOFT_SCROLLBACK
Amerigo Wanga52712a2010-03-05 13:44:17 -080042 range 1 1024
Antonino A. Daplas15bdab92006-03-27 01:17:20 -080043 default "64"
44 help
Manuel Schöllingaabd31c2017-01-13 21:07:57 +010045 Enter the amount of System RAM to allocate for scrollback
46 buffers of VGA consoles. Each 64KB will give you approximately
47 16 80x25 screenfuls of scrollback buffer.
48
Manuel Schölling1a336c92017-01-13 21:07:58 +010049config VGACON_SOFT_SCROLLBACK_PERSISTENT_ENABLE_BY_DEFAULT
50 bool "Persistent Scrollback History for each console by default"
Manuel Schöllingaabd31c2017-01-13 21:07:57 +010051 depends on VGACON_SOFT_SCROLLBACK
52 default n
53 help
Manuel Schölling1a336c92017-01-13 21:07:58 +010054 Say Y here if the scrollback history should persist by default when
55 switching between consoles. Otherwise, the scrollback history will be
56 flushed each time the console is switched. This feature can also be
57 enabled using the boot command line parameter
58 'vgacon.scrollback_persistent=1'.
Manuel Schöllingaabd31c2017-01-13 21:07:57 +010059
60 This feature might break your tool of choice to flush the scrollback
61 buffer, e.g. clear(1) will work fine but Debian's clear_console(1)
62 will be broken, which might cause security issues.
63 You can use the escape sequence \e[3J instead if this feature is
64 activated.
65
66 Note that a buffer of VGACON_SOFT_SCROLLBACK_SIZE is taken for each
67 created tty device.
68 So if you use a RAM-constrained system, say N here.
Antonino A. Daplas15bdab92006-03-27 01:17:20 -080069
Linus Torvalds1da177e2005-04-16 15:20:36 -070070config MDA_CONSOLE
71 depends on !M68K && !PARISC && ISA
Kees Cook55ec4c32013-01-16 18:53:58 -080072 tristate "MDA text console (dual-headed)"
Linus Torvalds1da177e2005-04-16 15:20:36 -070073 ---help---
74 Say Y here if you have an old MDA or monochrome Hercules graphics
75 adapter in your system acting as a second head ( = video card). You
76 will then be able to use two monitors with your Linux system. Do not
77 say Y here if your MDA card is the primary card in your system; the
78 normal VGA driver will handle it.
79
80 To compile this driver as a module, choose M here: the
81 module will be called mdacon.
82
83 If unsure, say N.
84
85config SGI_NEWPORT_CONSOLE
86 tristate "SGI Newport Console support"
Farhan Ali0a3994f2018-02-22 11:22:22 -050087 depends on SGI_IP22 && HAS_IOMEM
Geert Uytterhoevend1e183c2013-05-15 13:26:20 +020088 select FONT_SUPPORT
Linus Torvalds1da177e2005-04-16 15:20:36 -070089 help
90 Say Y here if you want the console on the Newport aka XL graphics
91 card of your Indy. Most people say Y here.
92
Linus Torvalds1da177e2005-04-16 15:20:36 -070093config DUMMY_CONSOLE
94 bool
David S. Miller09d3f3f2009-09-15 17:04:38 -070095 depends on VGA_CONSOLE!=y || SGI_NEWPORT_CONSOLE!=y
Linus Torvalds1da177e2005-04-16 15:20:36 -070096 default y
97
98config DUMMY_CONSOLE_COLUMNS
99 int "Initial number of console screen columns"
Geert Uytterhoeven8f5b1e62015-01-12 21:17:02 +0100100 depends on DUMMY_CONSOLE && !ARM
101 default 160 if PARISC
102 default 80
Linus Torvalds1da177e2005-04-16 15:20:36 -0700103 help
Geert Uytterhoeven8f5b1e62015-01-12 21:17:02 +0100104 On PA-RISC, the default value is 160, which should fit a 1280x1024
105 monitor.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700106 Select 80 if you use a 640x480 resolution by default.
107
108config DUMMY_CONSOLE_ROWS
109 int "Initial number of console screen rows"
Geert Uytterhoeven8f5b1e62015-01-12 21:17:02 +0100110 depends on DUMMY_CONSOLE && !ARM
111 default 64 if PARISC
112 default 25
Linus Torvalds1da177e2005-04-16 15:20:36 -0700113 help
Geert Uytterhoeven8f5b1e62015-01-12 21:17:02 +0100114 On PA-RISC, the default value is 64, which should fit a 1280x1024
115 monitor.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700116 Select 25 if you use a 640x480 resolution by default.
117
118config FRAMEBUFFER_CONSOLE
Daniel Vetter6104c372017-08-01 17:32:07 +0200119 bool "Framebuffer Console support"
David Herrmann765d5b92013-08-02 14:05:27 +0200120 depends on FB && !UML
121 select VT_HW_CONSOLE_BINDING
Linus Torvalds1da177e2005-04-16 15:20:36 -0700122 select CRC32
Geert Uytterhoevend1e183c2013-05-15 13:26:20 +0200123 select FONT_SUPPORT
Randy.Dunlape65c0852005-11-07 01:00:28 -0800124 help
125 Low-level framebuffer-based console driver.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700126
Antonino A. Daplas623e71b2007-07-17 04:05:28 -0700127config FRAMEBUFFER_CONSOLE_DETECT_PRIMARY
128 bool "Map the console to the primary display device"
Antonino A. Daplasafd1db12007-07-17 04:05:32 -0700129 depends on FRAMEBUFFER_CONSOLE
Antonino A. Daplas623e71b2007-07-17 04:05:28 -0700130 default n
131 ---help---
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.
137
138 You can always override the automatic selection of the primary device
139 by using the fbcon=map: boot option.
140
Antonino A. Daplas623e71b2007-07-17 04:05:28 -0700141 If unsure, select n.
142
Antonino A. Daplase4fc2762005-11-08 21:39:09 -0800143config FRAMEBUFFER_CONSOLE_ROTATION
144 bool "Framebuffer Console Rotation"
145 depends on FRAMEBUFFER_CONSOLE
146 help
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
151 oriented.
152
Linus Torvalds1da177e2005-04-16 15:20:36 -0700153config STI_CONSOLE
Kyle McMartin1eb51c3622007-06-29 02:15:12 -0400154 bool "STI text console"
Farhan Ali0a3994f2018-02-22 11:22:22 -0500155 depends on PARISC && HAS_IOMEM
Geert Uytterhoevend1e183c2013-05-15 13:26:20 +0200156 select FONT_SUPPORT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700157 default y
158 help
159 The STI console is the builtin display/keyboard on HP-PARISC
160 machines. Say Y here to build support for it into your kernel.
161 The alternative is to use your primary serial port as a console.
162
Linus Torvalds1da177e2005-04-16 15:20:36 -0700163endmenu
164