xref: /openbmc/linux/drivers/video/console/Kconfig (revision f15cbe6f)
1#
2# Video configuration
3#
4
5menu "Console display driver support"
6
7config VGA_CONSOLE
8	bool "VGA text console" if EMBEDDED || !X86
9	depends on !ARCH_ACORN && !ARCH_EBSA110 && !4xx && !8xx && !SPARC && !M68K && !PARISC && !FRV && !ARCH_VERSATILE && !SUPERH && !BLACKFIN && !AVR32 && !MN10300
10	default y
11	help
12	  Saying Y here will allow you to use Linux in text mode through a
13	  display that complies with the generic VGA standard. Virtually
14	  everyone wants that.
15
16	  The program SVGATextMode can be used to utilize SVGA video cards to
17	  their full potential in text mode. Download it from
18	  <ftp://ibiblio.org/pub/Linux/utils/console/>.
19
20	  Say Y.
21
22config VGACON_SOFT_SCROLLBACK
23       bool "Enable Scrollback Buffer in System RAM"
24       depends on VGA_CONSOLE
25       default n
26       help
27         The scrollback buffer of the standard VGA console is located in
28	 the VGA RAM.  The size of this RAM is fixed and is quite small.
29	 If you require a larger scrollback buffer, this can be placed in
30	 System RAM which is dynamically allocated during initialization.
31	 Placing the scrollback buffer in System RAM will slightly slow
32	 down the console.
33
34	 If you want this feature, say 'Y' here and enter the amount of
35	 RAM to allocate for this buffer.  If unsure, say 'N'.
36
37config VGACON_SOFT_SCROLLBACK_SIZE
38       int "Scrollback Buffer Size (in KB)"
39       depends on VGACON_SOFT_SCROLLBACK
40       default "64"
41       help
42         Enter the amount of System RAM to allocate for the scrollback
43	 buffer.  Each 64KB will give you approximately 16 80x25
44	 screenfuls of scrollback buffer
45
46config VIDEO_SELECT
47	bool "Video mode selection support"
48	depends on  X86 && VGA_CONSOLE
49	---help---
50	  This enables support for text mode selection on kernel startup. If
51	  you want to take advantage of some high-resolution text mode your
52	  card's BIOS offers, but the traditional Linux utilities like
53	  SVGATextMode don't, you can say Y here and set the mode using the
54	  "vga=" option from your boot loader (lilo or loadlin) or set
55	  "vga=ask" which brings up a video mode menu on kernel startup. (Try
56	  "man bootparam" or see the documentation of your boot loader about
57	  how to pass options to the kernel.)
58
59	  Read the file <file:Documentation/svga.txt> for more information
60	  about the Video mode selection support. If unsure, say N.
61
62config MDA_CONSOLE
63	depends on !M68K && !PARISC && ISA
64	tristate "MDA text console (dual-headed) (EXPERIMENTAL)"
65	---help---
66	  Say Y here if you have an old MDA or monochrome Hercules graphics
67	  adapter in your system acting as a second head ( = video card). You
68	  will then be able to use two monitors with your Linux system. Do not
69	  say Y here if your MDA card is the primary card in your system; the
70	  normal VGA driver will handle it.
71
72	  To compile this driver as a module, choose M here: the
73	  module will be called mdacon.
74
75	  If unsure, say N.
76
77config SGI_NEWPORT_CONSOLE
78        tristate "SGI Newport Console support"
79        depends on SGI_IP22
80        help
81          Say Y here if you want the console on the Newport aka XL graphics
82          card of your Indy.  Most people say Y here.
83
84#  bool 'IODC console' CONFIG_IODC_CONSOLE
85
86config PROM_CONSOLE
87	bool "PROM console"
88	depends on SPARC
89	help
90	  Say Y to build a console driver for Sun machines that uses the
91	  terminal emulation built into their console PROMS.
92
93config DUMMY_CONSOLE
94	bool
95	depends on PROM_CONSOLE!=y || VGA_CONSOLE!=y || SGI_NEWPORT_CONSOLE!=y
96	default y
97
98config DUMMY_CONSOLE_COLUMNS
99        int "Initial number of console screen columns"
100        depends on PARISC && DUMMY_CONSOLE
101        default "160"
102        help
103          The default value is 160, which should fit a 1280x1024 monitor.
104          Select 80 if you use a 640x480 resolution by default.
105
106config DUMMY_CONSOLE_ROWS
107        int "Initial number of console screen rows"
108        depends on PARISC && DUMMY_CONSOLE
109        default "64"
110        help
111          The default value is 64, which should fit a 1280x1024 monitor.
112          Select 25 if you use a 640x480 resolution by default.
113
114config FRAMEBUFFER_CONSOLE
115	tristate "Framebuffer Console support"
116	depends on FB
117	select CRC32
118	help
119	  Low-level framebuffer-based console driver.
120
121config FRAMEBUFFER_CONSOLE_DETECT_PRIMARY
122       bool "Map the console to the primary display device"
123       depends on FRAMEBUFFER_CONSOLE
124       default n
125       ---help---
126         If this option is selected, the framebuffer console will
127         automatically select the primary display device (if the architecture
128	 supports this feature).  Otherwise, the framebuffer console will
129         always select the first framebuffer driver that is loaded. The latter
130         is the default behavior.
131
132	 You can always override the automatic selection of the primary device
133	 by using the fbcon=map: boot option.
134
135	 If unsure, select n.
136
137config FRAMEBUFFER_CONSOLE_ROTATION
138       bool "Framebuffer Console Rotation"
139       depends on FRAMEBUFFER_CONSOLE
140       help
141         Enable display rotation for the framebuffer console.  This is done
142         in software and may be significantly slower than a normally oriented
143         display.  Note that the rotation is done at the console level only
144         such that other users of the framebuffer will remain normally
145         oriented.
146
147config STI_CONSOLE
148        bool "STI text console"
149        depends on PARISC
150        default y
151        help
152          The STI console is the builtin display/keyboard on HP-PARISC
153          machines.  Say Y here to build support for it into your kernel.
154          The alternative is to use your primary serial port as a console.
155
156config FONTS
157	bool "Select compiled-in fonts"
158	depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
159	help
160	  Say Y here if you would like to use fonts other than the default
161	  your frame buffer console usually use.
162
163	  Note that the answer to this question won't directly affect the
164	  kernel: saying N will just cause the configurator to skip all
165	  the questions about foreign fonts.
166
167	  If unsure, say N (the default choices are safe).
168
169config FONT_8x8
170	bool "VGA 8x8 font" if FONTS
171	depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
172	default y if !SPARC && !FONTS
173	help
174	  This is the "high resolution" font for the VGA frame buffer (the one
175	  provided by the text console 80x50 (and higher) modes).
176
177	  Note that this is a poor quality font. The VGA 8x16 font is quite a
178	  lot more readable.
179
180	  Given the resolution provided by the frame buffer device, answer N
181	  here is safe.
182
183config FONT_8x16
184	bool "VGA 8x16 font" if FONTS
185	depends on FRAMEBUFFER_CONSOLE || SGI_NEWPORT_CONSOLE || STI_CONSOLE || USB_SISUSBVGA_CON
186	default y if !SPARC && !FONTS
187	help
188	  This is the "high resolution" font for the VGA frame buffer (the one
189	  provided by the VGA text console 80x25 mode.
190
191	  If unsure, say Y.
192
193config FONT_6x11
194	bool "Mac console 6x11 font (not supported by all drivers)" if FONTS
195	depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
196	default y if !SPARC && !FONTS && MAC
197	help
198	  Small console font with Macintosh-style high-half glyphs.  Some Mac
199	  framebuffer drivers don't support this one at all.
200
201config FONT_7x14
202	bool "console 7x14 font (not supported by all drivers)" if FONTS
203	depends on FRAMEBUFFER_CONSOLE
204	help
205	  Console font with characters just a bit smaller than the default.
206	  If the standard 8x16 font is a little too big for you, say Y.
207	  Otherwise, say N.
208
209config FONT_PEARL_8x8
210	bool "Pearl (old m68k) console 8x8 font" if FONTS
211	depends on FRAMEBUFFER_CONSOLE
212	default y if !SPARC && !FONTS && AMIGA
213	help
214	  Small console font with PC-style control-character and high-half
215	  glyphs.
216
217config FONT_ACORN_8x8
218	bool "Acorn console 8x8 font" if FONTS
219	depends on FRAMEBUFFER_CONSOLE
220	default y if !SPARC && !FONTS && ARM && ARCH_ACORN
221	help
222	  Small console font with PC-style control characters and high-half
223	  glyphs.
224
225config FONT_MINI_4x6
226	bool "Mini 4x6 font"
227	depends on !SPARC && FONTS
228
229config FONT_SUN8x16
230	bool "Sparc console 8x16 font"
231	depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC)
232	help
233	  This is the high resolution console font for Sun machines. Say Y.
234
235config FONT_SUN12x22
236	bool "Sparc console 12x22 font (not supported by all drivers)"
237	depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC)
238	help
239	  This is the high resolution console font for Sun machines with very
240	  big letters (like the letters used in the SPARC PROM). If the
241	  standard font is unreadable for you, say Y, otherwise say N.
242
243config FONT_10x18
244	bool "console 10x18 font (not supported by all drivers)" if FONTS
245	depends on FRAMEBUFFER_CONSOLE
246	help
247	  This is a high resolution console font for machines with very
248	  big letters. It fits between the sun 12x22 and the normal 8x16 font.
249	  If other fonts are too big or too small for you, say Y, otherwise say N.
250
251endmenu
252
253