Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # |
| 3 | # Video configuration |
| 4 | # |
| 5 | |
| 6 | menu "Console display driver support" |
| 7 | |
| 8 | config VGA_CONSOLE |
David Rientjes | 6a108a1 | 2011-01-20 14:44:16 -0800 | [diff] [blame] | 9 | bool "VGA text console" if EXPERT || !X86 |
Arnd Bergmann | a687a53 | 2018-03-07 23:30:54 +0100 | [diff] [blame] | 10 | depends on !4xx && !PPC_8xx && !SPARC && !M68K && !PARISC && !SUPERH && \ |
Mark Brown | ee23794 | 2013-12-17 23:37:01 +0000 | [diff] [blame] | 11 | (!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) && \ |
Linus Torvalds | becdce1 | 2018-04-09 09:04:10 -0700 | [diff] [blame] | 12 | !ARM64 && !ARC && !MICROBLAZE && !OPENRISC && !NDS32 && !S390 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | default y |
| 14 | help |
| 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 |
| 17 | everyone wants that. |
| 18 | |
| 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/>. |
| 22 | |
| 23 | Say Y. |
| 24 | |
Antonino A. Daplas | 15bdab9 | 2006-03-27 01:17:20 -0800 | [diff] [blame] | 25 | config VGACON_SOFT_SCROLLBACK |
| 26 | bool "Enable Scrollback Buffer in System RAM" |
| 27 | depends on VGA_CONSOLE |
| 28 | default n |
| 29 | help |
| 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 |
Matt LaPlante | 01dd2fb | 2007-10-20 01:34:40 +0200 | [diff] [blame] | 33 | System RAM which is dynamically allocated during initialization. |
Antonino A. Daplas | 15bdab9 | 2006-03-27 01:17:20 -0800 | [diff] [blame] | 34 | Placing the scrollback buffer in System RAM will slightly slow |
| 35 | down the console. |
| 36 | |
| 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'. |
| 39 | |
| 40 | config VGACON_SOFT_SCROLLBACK_SIZE |
| 41 | int "Scrollback Buffer Size (in KB)" |
| 42 | depends on VGACON_SOFT_SCROLLBACK |
Amerigo Wang | a52712a | 2010-03-05 13:44:17 -0800 | [diff] [blame] | 43 | range 1 1024 |
Antonino A. Daplas | 15bdab9 | 2006-03-27 01:17:20 -0800 | [diff] [blame] | 44 | default "64" |
| 45 | help |
Manuel Schölling | aabd31c | 2017-01-13 21:07:57 +0100 | [diff] [blame] | 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. |
| 49 | |
Manuel Schölling | 1a336c9 | 2017-01-13 21:07:58 +0100 | [diff] [blame] | 50 | config VGACON_SOFT_SCROLLBACK_PERSISTENT_ENABLE_BY_DEFAULT |
| 51 | bool "Persistent Scrollback History for each console by default" |
Manuel Schölling | aabd31c | 2017-01-13 21:07:57 +0100 | [diff] [blame] | 52 | depends on VGACON_SOFT_SCROLLBACK |
| 53 | default n |
| 54 | help |
Manuel Schölling | 1a336c9 | 2017-01-13 21:07:58 +0100 | [diff] [blame] | 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'. |
Manuel Schölling | aabd31c | 2017-01-13 21:07:57 +0100 | [diff] [blame] | 60 | |
| 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 |
| 65 | activated. |
| 66 | |
| 67 | Note that a buffer of VGACON_SOFT_SCROLLBACK_SIZE is taken for each |
| 68 | created tty device. |
| 69 | So if you use a RAM-constrained system, say N here. |
Antonino A. Daplas | 15bdab9 | 2006-03-27 01:17:20 -0800 | [diff] [blame] | 70 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 71 | config MDA_CONSOLE |
| 72 | depends on !M68K && !PARISC && ISA |
Kees Cook | 55ec4c3 | 2013-01-16 18:53:58 -0800 | [diff] [blame] | 73 | tristate "MDA text console (dual-headed)" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 74 | ---help--- |
| 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. |
| 80 | |
| 81 | To compile this driver as a module, choose M here: the |
| 82 | module will be called mdacon. |
| 83 | |
| 84 | If unsure, say N. |
| 85 | |
| 86 | config SGI_NEWPORT_CONSOLE |
| 87 | tristate "SGI Newport Console support" |
Farhan Ali | 0a3994f | 2018-02-22 11:22:22 -0500 | [diff] [blame] | 88 | depends on SGI_IP22 && HAS_IOMEM |
Geert Uytterhoeven | d1e183c | 2013-05-15 13:26:20 +0200 | [diff] [blame] | 89 | select FONT_SUPPORT |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 90 | help |
| 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. |
| 93 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 94 | config DUMMY_CONSOLE |
| 95 | bool |
David S. Miller | 09d3f3f | 2009-09-15 17:04:38 -0700 | [diff] [blame] | 96 | depends on VGA_CONSOLE!=y || SGI_NEWPORT_CONSOLE!=y |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 97 | default y |
| 98 | |
| 99 | config DUMMY_CONSOLE_COLUMNS |
| 100 | int "Initial number of console screen columns" |
Geert Uytterhoeven | 8f5b1e6 | 2015-01-12 21:17:02 +0100 | [diff] [blame] | 101 | depends on DUMMY_CONSOLE && !ARM |
| 102 | default 160 if PARISC |
| 103 | default 80 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 104 | help |
Geert Uytterhoeven | 8f5b1e6 | 2015-01-12 21:17:02 +0100 | [diff] [blame] | 105 | On PA-RISC, the default value is 160, which should fit a 1280x1024 |
| 106 | monitor. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 107 | Select 80 if you use a 640x480 resolution by default. |
| 108 | |
| 109 | config DUMMY_CONSOLE_ROWS |
| 110 | int "Initial number of console screen rows" |
Geert Uytterhoeven | 8f5b1e6 | 2015-01-12 21:17:02 +0100 | [diff] [blame] | 111 | depends on DUMMY_CONSOLE && !ARM |
| 112 | default 64 if PARISC |
| 113 | default 25 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 114 | help |
Geert Uytterhoeven | 8f5b1e6 | 2015-01-12 21:17:02 +0100 | [diff] [blame] | 115 | On PA-RISC, the default value is 64, which should fit a 1280x1024 |
| 116 | monitor. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 117 | Select 25 if you use a 640x480 resolution by default. |
| 118 | |
| 119 | config FRAMEBUFFER_CONSOLE |
Daniel Vetter | 6104c37 | 2017-08-01 17:32:07 +0200 | [diff] [blame] | 120 | bool "Framebuffer Console support" |
David Herrmann | 765d5b9 | 2013-08-02 14:05:27 +0200 | [diff] [blame] | 121 | depends on FB && !UML |
| 122 | select VT_HW_CONSOLE_BINDING |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 123 | select CRC32 |
Geert Uytterhoeven | d1e183c | 2013-05-15 13:26:20 +0200 | [diff] [blame] | 124 | select FONT_SUPPORT |
Randy.Dunlap | e65c085 | 2005-11-07 01:00:28 -0800 | [diff] [blame] | 125 | help |
| 126 | Low-level framebuffer-based console driver. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 127 | |
Antonino A. Daplas | 623e71b | 2007-07-17 04:05:28 -0700 | [diff] [blame] | 128 | config FRAMEBUFFER_CONSOLE_DETECT_PRIMARY |
| 129 | bool "Map the console to the primary display device" |
Antonino A. Daplas | afd1db1 | 2007-07-17 04:05:32 -0700 | [diff] [blame] | 130 | depends on FRAMEBUFFER_CONSOLE |
Antonino A. Daplas | 623e71b | 2007-07-17 04:05:28 -0700 | [diff] [blame] | 131 | default n |
| 132 | ---help--- |
| 133 | If this option is selected, the framebuffer console will |
| 134 | automatically select the primary display device (if the architecture |
| 135 | supports this feature). Otherwise, the framebuffer console will |
| 136 | always select the first framebuffer driver that is loaded. The latter |
| 137 | is the default behavior. |
| 138 | |
| 139 | You can always override the automatic selection of the primary device |
| 140 | by using the fbcon=map: boot option. |
| 141 | |
Antonino A. Daplas | 623e71b | 2007-07-17 04:05:28 -0700 | [diff] [blame] | 142 | If unsure, select n. |
| 143 | |
Antonino A. Daplas | e4fc276 | 2005-11-08 21:39:09 -0800 | [diff] [blame] | 144 | config FRAMEBUFFER_CONSOLE_ROTATION |
| 145 | bool "Framebuffer Console Rotation" |
| 146 | depends on FRAMEBUFFER_CONSOLE |
| 147 | help |
| 148 | Enable display rotation for the framebuffer console. This is done |
| 149 | in software and may be significantly slower than a normally oriented |
| 150 | display. Note that the rotation is done at the console level only |
| 151 | such that other users of the framebuffer will remain normally |
| 152 | oriented. |
| 153 | |
Hans de Goede | 83d83be | 2018-06-28 15:20:30 +0200 | [diff] [blame] | 154 | config FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER |
| 155 | bool "Framebuffer Console Deferred Takeover" |
Hans de Goede | 15f4c35 | 2018-08-10 17:23:01 +0200 | [diff] [blame] | 156 | depends on FB=y && FRAMEBUFFER_CONSOLE && DUMMY_CONSOLE |
Hans de Goede | 83d83be | 2018-06-28 15:20:30 +0200 | [diff] [blame] | 157 | help |
| 158 | If enabled this defers the framebuffer console taking over the |
| 159 | console from the dummy console until the first text is displayed on |
| 160 | the console. This is useful in combination with the "quiet" kernel |
| 161 | commandline option to keep the framebuffer contents initially put up |
| 162 | by the firmware in place, rather then replacing the contents with a |
| 163 | black screen as soon as fbcon loads. |
| 164 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 165 | config STI_CONSOLE |
Kyle McMartin | 1eb51c362 | 2007-06-29 02:15:12 -0400 | [diff] [blame] | 166 | bool "STI text console" |
Farhan Ali | 0a3994f | 2018-02-22 11:22:22 -0500 | [diff] [blame] | 167 | depends on PARISC && HAS_IOMEM |
Geert Uytterhoeven | d1e183c | 2013-05-15 13:26:20 +0200 | [diff] [blame] | 168 | select FONT_SUPPORT |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 169 | default y |
| 170 | help |
| 171 | The STI console is the builtin display/keyboard on HP-PARISC |
| 172 | machines. Say Y here to build support for it into your kernel. |
| 173 | The alternative is to use your primary serial port as a console. |
| 174 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 175 | endmenu |
| 176 | |