xref: /OK3568_Linux_fs/kernel/drivers/video/console/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Video configuration
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunmenu "Console display driver support"
7*4882a593Smuzhiyun
8*4882a593Smuzhiyunconfig VGA_CONSOLE
9*4882a593Smuzhiyun	bool "VGA text console" if EXPERT || !X86
10*4882a593Smuzhiyun	depends on !4xx && !PPC_8xx && !SPARC && !M68K && !PARISC &&  !SUPERH && \
11*4882a593Smuzhiyun		(!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) && \
12*4882a593Smuzhiyun		!ARM64 && !ARC && !MICROBLAZE && !OPENRISC && !NDS32 && !S390
13*4882a593Smuzhiyun	default y
14*4882a593Smuzhiyun	help
15*4882a593Smuzhiyun	  Saying Y here will allow you to use Linux in text mode through a
16*4882a593Smuzhiyun	  display that complies with the generic VGA standard. Virtually
17*4882a593Smuzhiyun	  everyone wants that.
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun	  The program SVGATextMode can be used to utilize SVGA video cards to
20*4882a593Smuzhiyun	  their full potential in text mode. Download it from
21*4882a593Smuzhiyun	  <ftp://ibiblio.org/pub/Linux/utils/console/>.
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun	  Say Y.
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunconfig MDA_CONSOLE
26*4882a593Smuzhiyun	depends on !M68K && !PARISC && ISA
27*4882a593Smuzhiyun	tristate "MDA text console (dual-headed)"
28*4882a593Smuzhiyun	help
29*4882a593Smuzhiyun	  Say Y here if you have an old MDA or monochrome Hercules graphics
30*4882a593Smuzhiyun	  adapter in your system acting as a second head ( = video card). You
31*4882a593Smuzhiyun	  will then be able to use two monitors with your Linux system. Do not
32*4882a593Smuzhiyun	  say Y here if your MDA card is the primary card in your system; the
33*4882a593Smuzhiyun	  normal VGA driver will handle it.
34*4882a593Smuzhiyun
35*4882a593Smuzhiyun	  To compile this driver as a module, choose M here: the
36*4882a593Smuzhiyun	  module will be called mdacon.
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun	  If unsure, say N.
39*4882a593Smuzhiyun
40*4882a593Smuzhiyunconfig SGI_NEWPORT_CONSOLE
41*4882a593Smuzhiyun	tristate "SGI Newport Console support"
42*4882a593Smuzhiyun	depends on SGI_IP22 && HAS_IOMEM
43*4882a593Smuzhiyun	select FONT_SUPPORT
44*4882a593Smuzhiyun	help
45*4882a593Smuzhiyun	  Say Y here if you want the console on the Newport aka XL graphics
46*4882a593Smuzhiyun	  card of your Indy.  Most people say Y here.
47*4882a593Smuzhiyun
48*4882a593Smuzhiyunconfig DUMMY_CONSOLE
49*4882a593Smuzhiyun	bool
50*4882a593Smuzhiyun	default y
51*4882a593Smuzhiyun
52*4882a593Smuzhiyunconfig DUMMY_CONSOLE_COLUMNS
53*4882a593Smuzhiyun	int "Initial number of console screen columns"
54*4882a593Smuzhiyun	depends on DUMMY_CONSOLE && !ARM
55*4882a593Smuzhiyun	default 160 if PARISC
56*4882a593Smuzhiyun	default 80
57*4882a593Smuzhiyun	help
58*4882a593Smuzhiyun	  On PA-RISC, the default value is 160, which should fit a 1280x1024
59*4882a593Smuzhiyun	  monitor.
60*4882a593Smuzhiyun	  Select 80 if you use a 640x480 resolution by default.
61*4882a593Smuzhiyun
62*4882a593Smuzhiyunconfig DUMMY_CONSOLE_ROWS
63*4882a593Smuzhiyun	int "Initial number of console screen rows"
64*4882a593Smuzhiyun	depends on DUMMY_CONSOLE && !ARM
65*4882a593Smuzhiyun	default 64 if PARISC
66*4882a593Smuzhiyun	default 25
67*4882a593Smuzhiyun	help
68*4882a593Smuzhiyun	  On PA-RISC, the default value is 64, which should fit a 1280x1024
69*4882a593Smuzhiyun	  monitor.
70*4882a593Smuzhiyun	  Select 25 if you use a 640x480 resolution by default.
71*4882a593Smuzhiyun
72*4882a593Smuzhiyunconfig FRAMEBUFFER_CONSOLE
73*4882a593Smuzhiyun	bool "Framebuffer Console support"
74*4882a593Smuzhiyun	depends on FB && !UML
75*4882a593Smuzhiyun	select VT_HW_CONSOLE_BINDING
76*4882a593Smuzhiyun	select CRC32
77*4882a593Smuzhiyun	select FONT_SUPPORT
78*4882a593Smuzhiyun	help
79*4882a593Smuzhiyun	  Low-level framebuffer-based console driver.
80*4882a593Smuzhiyun
81*4882a593Smuzhiyunconfig FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION
82*4882a593Smuzhiyun	bool "Enable legacy fbcon hardware acceleration code"
83*4882a593Smuzhiyun	depends on FRAMEBUFFER_CONSOLE
84*4882a593Smuzhiyun	default y if PARISC
85*4882a593Smuzhiyun	default n
86*4882a593Smuzhiyun	help
87*4882a593Smuzhiyun	  This option enables the fbcon (framebuffer text-based) hardware
88*4882a593Smuzhiyun	  acceleration for graphics drivers which were written for the fbdev
89*4882a593Smuzhiyun	  graphics interface.
90*4882a593Smuzhiyun
91*4882a593Smuzhiyun	  On modern machines, on mainstream machines (like x86-64) or when
92*4882a593Smuzhiyun	  using a modern Linux distribution those fbdev drivers usually aren't used.
93*4882a593Smuzhiyun	  So enabling this option wouldn't have any effect, which is why you want
94*4882a593Smuzhiyun	  to disable this option on such newer machines.
95*4882a593Smuzhiyun
96*4882a593Smuzhiyun	  If you compile this kernel for older machines which still require the
97*4882a593Smuzhiyun	  fbdev drivers, you may want to say Y.
98*4882a593Smuzhiyun
99*4882a593Smuzhiyun	  If unsure, select n.
100*4882a593Smuzhiyun
101*4882a593Smuzhiyunconfig FRAMEBUFFER_CONSOLE_DETECT_PRIMARY
102*4882a593Smuzhiyun       bool "Map the console to the primary display device"
103*4882a593Smuzhiyun       depends on FRAMEBUFFER_CONSOLE
104*4882a593Smuzhiyun       default n
105*4882a593Smuzhiyun	help
106*4882a593Smuzhiyun	 If this option is selected, the framebuffer console will
107*4882a593Smuzhiyun	 automatically select the primary display device (if the architecture
108*4882a593Smuzhiyun	 supports this feature).  Otherwise, the framebuffer console will
109*4882a593Smuzhiyun	 always select the first framebuffer driver that is loaded. The latter
110*4882a593Smuzhiyun	 is the default behavior.
111*4882a593Smuzhiyun
112*4882a593Smuzhiyun	 You can always override the automatic selection of the primary device
113*4882a593Smuzhiyun	 by using the fbcon=map: boot option.
114*4882a593Smuzhiyun
115*4882a593Smuzhiyun	 If unsure, select n.
116*4882a593Smuzhiyun
117*4882a593Smuzhiyunconfig FRAMEBUFFER_CONSOLE_ROTATION
118*4882a593Smuzhiyun       bool "Framebuffer Console Rotation"
119*4882a593Smuzhiyun       depends on FRAMEBUFFER_CONSOLE
120*4882a593Smuzhiyun       help
121*4882a593Smuzhiyun	 Enable display rotation for the framebuffer console.  This is done
122*4882a593Smuzhiyun	 in software and may be significantly slower than a normally oriented
123*4882a593Smuzhiyun	 display.  Note that the rotation is done at the console level only
124*4882a593Smuzhiyun	 such that other users of the framebuffer will remain normally
125*4882a593Smuzhiyun	 oriented.
126*4882a593Smuzhiyun
127*4882a593Smuzhiyunconfig FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER
128*4882a593Smuzhiyun	bool "Framebuffer Console Deferred Takeover"
129*4882a593Smuzhiyun	depends on FB=y && FRAMEBUFFER_CONSOLE && DUMMY_CONSOLE
130*4882a593Smuzhiyun	help
131*4882a593Smuzhiyun	  If enabled this defers the framebuffer console taking over the
132*4882a593Smuzhiyun	  console from the dummy console until the first text is displayed on
133*4882a593Smuzhiyun	  the console. This is useful in combination with the "quiet" kernel
134*4882a593Smuzhiyun	  commandline option to keep the framebuffer contents initially put up
135*4882a593Smuzhiyun	  by the firmware in place, rather then replacing the contents with a
136*4882a593Smuzhiyun	  black screen as soon as fbcon loads.
137*4882a593Smuzhiyun
138*4882a593Smuzhiyunconfig STI_CONSOLE
139*4882a593Smuzhiyun	bool "STI text console"
140*4882a593Smuzhiyun	depends on PARISC && HAS_IOMEM
141*4882a593Smuzhiyun	select FONT_SUPPORT
142*4882a593Smuzhiyun	select CRC32
143*4882a593Smuzhiyun	default y
144*4882a593Smuzhiyun	help
145*4882a593Smuzhiyun	  The STI console is the builtin display/keyboard on HP-PARISC
146*4882a593Smuzhiyun	  machines.  Say Y here to build support for it into your kernel.
147*4882a593Smuzhiyun	  The alternative is to use your primary serial port as a console.
148*4882a593Smuzhiyun
149*4882a593Smuzhiyunendmenu
150*4882a593Smuzhiyun
151