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) && \ |
Johannes Berg | 0bbadaf | 2021-03-05 13:19:51 +0100 | [diff] [blame] | 12 | !ARM64 && !ARC && !MICROBLAZE && !OPENRISC && !NDS32 && !S390 && !UML |
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 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | config MDA_CONSOLE |
| 26 | depends on !M68K && !PARISC && ISA |
Kees Cook | 55ec4c3 | 2013-01-16 18:53:58 -0800 | [diff] [blame] | 27 | tristate "MDA text console (dual-headed)" |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 28 | help |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | Say Y here if you have an old MDA or monochrome Hercules graphics |
| 30 | adapter in your system acting as a second head ( = video card). You |
| 31 | will then be able to use two monitors with your Linux system. Do not |
| 32 | say Y here if your MDA card is the primary card in your system; the |
| 33 | normal VGA driver will handle it. |
| 34 | |
| 35 | To compile this driver as a module, choose M here: the |
| 36 | module will be called mdacon. |
| 37 | |
| 38 | If unsure, say N. |
| 39 | |
| 40 | config SGI_NEWPORT_CONSOLE |
Krzysztof Kozlowski | 52733e9 | 2019-11-20 21:38:38 +0800 | [diff] [blame] | 41 | tristate "SGI Newport Console support" |
Farhan Ali | 0a3994f | 2018-02-22 11:22:22 -0500 | [diff] [blame] | 42 | depends on SGI_IP22 && HAS_IOMEM |
Krzysztof Kozlowski | 52733e9 | 2019-11-20 21:38:38 +0800 | [diff] [blame] | 43 | select FONT_SUPPORT |
| 44 | help |
| 45 | Say Y here if you want the console on the Newport aka XL graphics |
| 46 | card of your Indy. Most people say Y here. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 47 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 48 | config DUMMY_CONSOLE |
| 49 | bool |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 50 | default y |
| 51 | |
| 52 | config DUMMY_CONSOLE_COLUMNS |
Krzysztof Kozlowski | 52733e9 | 2019-11-20 21:38:38 +0800 | [diff] [blame] | 53 | int "Initial number of console screen columns" |
| 54 | depends on DUMMY_CONSOLE && !ARM |
| 55 | default 160 if PARISC |
| 56 | default 80 |
| 57 | help |
| 58 | On PA-RISC, the default value is 160, which should fit a 1280x1024 |
| 59 | monitor. |
| 60 | Select 80 if you use a 640x480 resolution by default. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 61 | |
| 62 | config DUMMY_CONSOLE_ROWS |
Krzysztof Kozlowski | 52733e9 | 2019-11-20 21:38:38 +0800 | [diff] [blame] | 63 | int "Initial number of console screen rows" |
| 64 | depends on DUMMY_CONSOLE && !ARM |
| 65 | default 64 if PARISC |
| 66 | default 25 |
| 67 | help |
| 68 | On PA-RISC, the default value is 64, which should fit a 1280x1024 |
| 69 | monitor. |
| 70 | Select 25 if you use a 640x480 resolution by default. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 71 | |
| 72 | config FRAMEBUFFER_CONSOLE |
Daniel Vetter | 6104c37 | 2017-08-01 17:32:07 +0200 | [diff] [blame] | 73 | bool "Framebuffer Console support" |
David Herrmann | 765d5b9 | 2013-08-02 14:05:27 +0200 | [diff] [blame] | 74 | depends on FB && !UML |
| 75 | select VT_HW_CONSOLE_BINDING |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 76 | select CRC32 |
Geert Uytterhoeven | d1e183c | 2013-05-15 13:26:20 +0200 | [diff] [blame] | 77 | select FONT_SUPPORT |
Randy.Dunlap | e65c085 | 2005-11-07 01:00:28 -0800 | [diff] [blame] | 78 | help |
| 79 | Low-level framebuffer-based console driver. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 80 | |
Antonino A. Daplas | 623e71b | 2007-07-17 04:05:28 -0700 | [diff] [blame] | 81 | config FRAMEBUFFER_CONSOLE_DETECT_PRIMARY |
| 82 | bool "Map the console to the primary display device" |
Antonino A. Daplas | afd1db1 | 2007-07-17 04:05:32 -0700 | [diff] [blame] | 83 | depends on FRAMEBUFFER_CONSOLE |
Antonino A. Daplas | 623e71b | 2007-07-17 04:05:28 -0700 | [diff] [blame] | 84 | default n |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 85 | help |
Krzysztof Kozlowski | 52733e9 | 2019-11-20 21:38:38 +0800 | [diff] [blame] | 86 | If this option is selected, the framebuffer console will |
| 87 | automatically select the primary display device (if the architecture |
Antonino A. Daplas | 623e71b | 2007-07-17 04:05:28 -0700 | [diff] [blame] | 88 | supports this feature). Otherwise, the framebuffer console will |
Krzysztof Kozlowski | 52733e9 | 2019-11-20 21:38:38 +0800 | [diff] [blame] | 89 | always select the first framebuffer driver that is loaded. The latter |
| 90 | is the default behavior. |
Antonino A. Daplas | 623e71b | 2007-07-17 04:05:28 -0700 | [diff] [blame] | 91 | |
| 92 | You can always override the automatic selection of the primary device |
| 93 | by using the fbcon=map: boot option. |
| 94 | |
Antonino A. Daplas | 623e71b | 2007-07-17 04:05:28 -0700 | [diff] [blame] | 95 | If unsure, select n. |
| 96 | |
Antonino A. Daplas | e4fc276 | 2005-11-08 21:39:09 -0800 | [diff] [blame] | 97 | config FRAMEBUFFER_CONSOLE_ROTATION |
| 98 | bool "Framebuffer Console Rotation" |
| 99 | depends on FRAMEBUFFER_CONSOLE |
| 100 | help |
Krzysztof Kozlowski | 52733e9 | 2019-11-20 21:38:38 +0800 | [diff] [blame] | 101 | Enable display rotation for the framebuffer console. This is done |
| 102 | in software and may be significantly slower than a normally oriented |
| 103 | display. Note that the rotation is done at the console level only |
| 104 | such that other users of the framebuffer will remain normally |
| 105 | oriented. |
Antonino A. Daplas | e4fc276 | 2005-11-08 21:39:09 -0800 | [diff] [blame] | 106 | |
Hans de Goede | 83d83be | 2018-06-28 15:20:30 +0200 | [diff] [blame] | 107 | config FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER |
| 108 | bool "Framebuffer Console Deferred Takeover" |
Hans de Goede | 15f4c35 | 2018-08-10 17:23:01 +0200 | [diff] [blame] | 109 | depends on FB=y && FRAMEBUFFER_CONSOLE && DUMMY_CONSOLE |
Hans de Goede | 83d83be | 2018-06-28 15:20:30 +0200 | [diff] [blame] | 110 | help |
| 111 | If enabled this defers the framebuffer console taking over the |
| 112 | console from the dummy console until the first text is displayed on |
| 113 | the console. This is useful in combination with the "quiet" kernel |
| 114 | commandline option to keep the framebuffer contents initially put up |
| 115 | by the firmware in place, rather then replacing the contents with a |
| 116 | black screen as soon as fbcon loads. |
| 117 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 118 | config STI_CONSOLE |
Krzysztof Kozlowski | 52733e9 | 2019-11-20 21:38:38 +0800 | [diff] [blame] | 119 | bool "STI text console" |
Farhan Ali | 0a3994f | 2018-02-22 11:22:22 -0500 | [diff] [blame] | 120 | depends on PARISC && HAS_IOMEM |
Krzysztof Kozlowski | 52733e9 | 2019-11-20 21:38:38 +0800 | [diff] [blame] | 121 | select FONT_SUPPORT |
Helge Deller | 7ff3f14d | 2020-10-12 10:44:52 +0200 | [diff] [blame] | 122 | select CRC32 |
Krzysztof Kozlowski | 52733e9 | 2019-11-20 21:38:38 +0800 | [diff] [blame] | 123 | default y |
| 124 | help |
| 125 | The STI console is the builtin display/keyboard on HP-PARISC |
| 126 | machines. Say Y here to build support for it into your kernel. |
| 127 | The alternative is to use your primary serial port as a console. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 128 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 129 | endmenu |
| 130 | |