xref: /openbmc/linux/drivers/video/console/Kconfig (revision 23c2b932)
1#
2# Video configuration
3#
4
5menu "Console display driver support"
6
7config VGA_CONSOLE
8	bool "VGA text console" if EXPERT || !X86
9	depends on !4xx && !8xx && !SPARC && !M68K && !PARISC && !FRV && \
10		!SUPERH && !BLACKFIN && !AVR32 && !MN10300 && !CRIS && \
11		(!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) && \
12		!ARM64 && !ARC && !MICROBLAZE
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
25config 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
33	 System RAM which is dynamically allocated during initialization.
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
40config VGACON_SOFT_SCROLLBACK_SIZE
41       int "Scrollback Buffer Size (in KB)"
42       depends on VGACON_SOFT_SCROLLBACK
43       range 1 1024
44       default "64"
45       help
46         Enter the amount of System RAM to allocate for the scrollback
47	 buffer.  Each 64KB will give you approximately 16 80x25
48	 screenfuls of scrollback buffer
49
50config MDA_CONSOLE
51	depends on !M68K && !PARISC && ISA
52	tristate "MDA text console (dual-headed)"
53	---help---
54	  Say Y here if you have an old MDA or monochrome Hercules graphics
55	  adapter in your system acting as a second head ( = video card). You
56	  will then be able to use two monitors with your Linux system. Do not
57	  say Y here if your MDA card is the primary card in your system; the
58	  normal VGA driver will handle it.
59
60	  To compile this driver as a module, choose M here: the
61	  module will be called mdacon.
62
63	  If unsure, say N.
64
65config SGI_NEWPORT_CONSOLE
66        tristate "SGI Newport Console support"
67        depends on SGI_IP22
68        select FONT_SUPPORT
69        help
70          Say Y here if you want the console on the Newport aka XL graphics
71          card of your Indy.  Most people say Y here.
72
73config DUMMY_CONSOLE
74	bool
75	depends on VGA_CONSOLE!=y || SGI_NEWPORT_CONSOLE!=y
76	default y
77
78config DUMMY_CONSOLE_COLUMNS
79        int "Initial number of console screen columns"
80        depends on DUMMY_CONSOLE && !ARM
81        default 160 if PARISC
82        default 80
83        help
84          On PA-RISC, the default value is 160, which should fit a 1280x1024
85          monitor.
86          Select 80 if you use a 640x480 resolution by default.
87
88config DUMMY_CONSOLE_ROWS
89        int "Initial number of console screen rows"
90        depends on DUMMY_CONSOLE && !ARM
91        default 64 if PARISC
92        default 25
93        help
94          On PA-RISC, the default value is 64, which should fit a 1280x1024
95          monitor.
96          Select 25 if you use a 640x480 resolution by default.
97
98config FRAMEBUFFER_CONSOLE
99	tristate "Framebuffer Console support"
100	depends on FB && !UML
101	select VT_HW_CONSOLE_BINDING
102	select CRC32
103	select FONT_SUPPORT
104	help
105	  Low-level framebuffer-based console driver.
106
107config FRAMEBUFFER_CONSOLE_DETECT_PRIMARY
108       bool "Map the console to the primary display device"
109       depends on FRAMEBUFFER_CONSOLE
110       default n
111       ---help---
112         If this option is selected, the framebuffer console will
113         automatically select the primary display device (if the architecture
114	 supports this feature).  Otherwise, the framebuffer console will
115         always select the first framebuffer driver that is loaded. The latter
116         is the default behavior.
117
118	 You can always override the automatic selection of the primary device
119	 by using the fbcon=map: boot option.
120
121	 If unsure, select n.
122
123config FRAMEBUFFER_CONSOLE_ROTATION
124       bool "Framebuffer Console Rotation"
125       depends on FRAMEBUFFER_CONSOLE
126       help
127         Enable display rotation for the framebuffer console.  This is done
128         in software and may be significantly slower than a normally oriented
129         display.  Note that the rotation is done at the console level only
130         such that other users of the framebuffer will remain normally
131         oriented.
132
133config STI_CONSOLE
134        bool "STI text console"
135        depends on PARISC
136        select FONT_SUPPORT
137        default y
138        help
139          The STI console is the builtin display/keyboard on HP-PARISC
140          machines.  Say Y here to build support for it into your kernel.
141          The alternative is to use your primary serial port as a console.
142
143endmenu
144
145