blob: fcc46380e7c91409f649b1e73c46ba25e794adf3 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
3# Video configuration
4#
5
6menu "Console display driver support"
7
8config VGA_CONSOLE
David Rientjes6a108a12011-01-20 14:44:16 -08009 bool "VGA text console" if EXPERT || !X86
Arnd Bergmanna687a532018-03-07 23:30:54 +010010 depends on !4xx && !PPC_8xx && !SPARC && !M68K && !PARISC && !SUPERH && \
Mark Brownee237942013-12-17 23:37:01 +000011 (!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) && \
Johannes Berg0bbadaf2021-03-05 13:19:51 +010012 !ARM64 && !ARC && !MICROBLAZE && !OPENRISC && !NDS32 && !S390 && !UML
Linus Torvalds1da177e2005-04-16 15:20:36 -070013 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 Torvalds1da177e2005-04-16 15:20:36 -070025config MDA_CONSOLE
26 depends on !M68K && !PARISC && ISA
Kees Cook55ec4c32013-01-16 18:53:58 -080027 tristate "MDA text console (dual-headed)"
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090028 help
Linus Torvalds1da177e2005-04-16 15:20:36 -070029 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
40config SGI_NEWPORT_CONSOLE
Krzysztof Kozlowski52733e92019-11-20 21:38:38 +080041 tristate "SGI Newport Console support"
Farhan Ali0a3994f2018-02-22 11:22:22 -050042 depends on SGI_IP22 && HAS_IOMEM
Krzysztof Kozlowski52733e92019-11-20 21:38:38 +080043 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 Torvalds1da177e2005-04-16 15:20:36 -070047
Linus Torvalds1da177e2005-04-16 15:20:36 -070048config DUMMY_CONSOLE
49 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -070050 default y
51
52config DUMMY_CONSOLE_COLUMNS
Krzysztof Kozlowski52733e92019-11-20 21:38:38 +080053 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 Torvalds1da177e2005-04-16 15:20:36 -070061
62config DUMMY_CONSOLE_ROWS
Krzysztof Kozlowski52733e92019-11-20 21:38:38 +080063 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 Torvalds1da177e2005-04-16 15:20:36 -070071
72config FRAMEBUFFER_CONSOLE
Daniel Vetter6104c372017-08-01 17:32:07 +020073 bool "Framebuffer Console support"
David Herrmann765d5b92013-08-02 14:05:27 +020074 depends on FB && !UML
75 select VT_HW_CONSOLE_BINDING
Linus Torvalds1da177e2005-04-16 15:20:36 -070076 select CRC32
Geert Uytterhoevend1e183c2013-05-15 13:26:20 +020077 select FONT_SUPPORT
Randy.Dunlape65c0852005-11-07 01:00:28 -080078 help
79 Low-level framebuffer-based console driver.
Linus Torvalds1da177e2005-04-16 15:20:36 -070080
Helge Dellera3f781a2022-02-02 14:55:31 +010081config FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION
82 bool "Enable legacy fbcon hardware acceleration code"
83 depends on FRAMEBUFFER_CONSOLE
84 default y if PARISC
85 default n
86 help
87 This option enables the fbcon (framebuffer text-based) hardware
88 acceleration for graphics drivers which were written for the fbdev
89 graphics interface.
90
91 On modern machines, on mainstream machines (like x86-64) or when
92 using a modern Linux distribution those fbdev drivers usually aren't used.
93 So enabling this option wouldn't have any effect, which is why you want
94 to disable this option on such newer machines.
95
96 If you compile this kernel for older machines which still require the
97 fbdev drivers, you may want to say Y.
98
99 If unsure, select n.
100
Antonino A. Daplas623e71b2007-07-17 04:05:28 -0700101config FRAMEBUFFER_CONSOLE_DETECT_PRIMARY
102 bool "Map the console to the primary display device"
Antonino A. Daplasafd1db12007-07-17 04:05:32 -0700103 depends on FRAMEBUFFER_CONSOLE
Antonino A. Daplas623e71b2007-07-17 04:05:28 -0700104 default n
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900105 help
Krzysztof Kozlowski52733e92019-11-20 21:38:38 +0800106 If this option is selected, the framebuffer console will
107 automatically select the primary display device (if the architecture
Antonino A. Daplas623e71b2007-07-17 04:05:28 -0700108 supports this feature). Otherwise, the framebuffer console will
Krzysztof Kozlowski52733e92019-11-20 21:38:38 +0800109 always select the first framebuffer driver that is loaded. The latter
110 is the default behavior.
Antonino A. Daplas623e71b2007-07-17 04:05:28 -0700111
112 You can always override the automatic selection of the primary device
113 by using the fbcon=map: boot option.
114
Antonino A. Daplas623e71b2007-07-17 04:05:28 -0700115 If unsure, select n.
116
Antonino A. Daplase4fc2762005-11-08 21:39:09 -0800117config FRAMEBUFFER_CONSOLE_ROTATION
118 bool "Framebuffer Console Rotation"
119 depends on FRAMEBUFFER_CONSOLE
120 help
Krzysztof Kozlowski52733e92019-11-20 21:38:38 +0800121 Enable display rotation for the framebuffer console. This is done
122 in software and may be significantly slower than a normally oriented
123 display. Note that the rotation is done at the console level only
124 such that other users of the framebuffer will remain normally
125 oriented.
Antonino A. Daplase4fc2762005-11-08 21:39:09 -0800126
Hans de Goede83d83be2018-06-28 15:20:30 +0200127config FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER
128 bool "Framebuffer Console Deferred Takeover"
Hans de Goede15f4c352018-08-10 17:23:01 +0200129 depends on FB=y && FRAMEBUFFER_CONSOLE && DUMMY_CONSOLE
Hans de Goede83d83be2018-06-28 15:20:30 +0200130 help
131 If enabled this defers the framebuffer console taking over the
132 console from the dummy console until the first text is displayed on
133 the console. This is useful in combination with the "quiet" kernel
134 commandline option to keep the framebuffer contents initially put up
135 by the firmware in place, rather then replacing the contents with a
136 black screen as soon as fbcon loads.
137
Linus Torvalds1da177e2005-04-16 15:20:36 -0700138config STI_CONSOLE
Krzysztof Kozlowski52733e92019-11-20 21:38:38 +0800139 bool "STI text console"
Farhan Ali0a3994f2018-02-22 11:22:22 -0500140 depends on PARISC && HAS_IOMEM
Krzysztof Kozlowski52733e92019-11-20 21:38:38 +0800141 select FONT_SUPPORT
Helge Deller7ff3f14d2020-10-12 10:44:52 +0200142 select CRC32
Krzysztof Kozlowski52733e92019-11-20 21:38:38 +0800143 default y
144 help
145 The STI console is the builtin display/keyboard on HP-PARISC
146 machines. Say Y here to build support for it into your kernel.
147 The alternative is to use your primary serial port as a console.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700148
Linus Torvalds1da177e2005-04-16 15:20:36 -0700149endmenu
150