hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/video/console/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # Video configuration
34 #
....@@ -24,7 +25,7 @@
2425 config MDA_CONSOLE
2526 depends on !M68K && !PARISC && ISA
2627 tristate "MDA text console (dual-headed)"
27
- ---help---
28
+ help
2829 Say Y here if you have an old MDA or monochrome Hercules graphics
2930 adapter in your system acting as a second head ( = video card). You
3031 will then be able to use two monitors with your Linux system. Do not
....@@ -37,37 +38,36 @@
3738 If unsure, say N.
3839
3940 config SGI_NEWPORT_CONSOLE
40
- tristate "SGI Newport Console support"
41
+ tristate "SGI Newport Console support"
4142 depends on SGI_IP22 && HAS_IOMEM
42
- select FONT_SUPPORT
43
- help
44
- Say Y here if you want the console on the Newport aka XL graphics
45
- card of your Indy. Most people say Y here.
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.
4647
4748 config DUMMY_CONSOLE
4849 bool
49
- depends on VGA_CONSOLE!=y || SGI_NEWPORT_CONSOLE!=y
5050 default y
5151
5252 config DUMMY_CONSOLE_COLUMNS
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.
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.
6161
6262 config DUMMY_CONSOLE_ROWS
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.
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.
7171
7272 config FRAMEBUFFER_CONSOLE
7373 bool "Framebuffer Console support"
....@@ -78,16 +78,36 @@
7878 help
7979 Low-level framebuffer-based console driver.
8080
81
+config 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
+
81101 config FRAMEBUFFER_CONSOLE_DETECT_PRIMARY
82102 bool "Map the console to the primary display device"
83103 depends on FRAMEBUFFER_CONSOLE
84104 default n
85
- ---help---
86
- If this option is selected, the framebuffer console will
87
- automatically select the primary display device (if the architecture
105
+ help
106
+ If this option is selected, the framebuffer console will
107
+ automatically select the primary display device (if the architecture
88108 supports this feature). Otherwise, the framebuffer console will
89
- always select the first framebuffer driver that is loaded. The latter
90
- is the default behavior.
109
+ always select the first framebuffer driver that is loaded. The latter
110
+ is the default behavior.
91111
92112 You can always override the automatic selection of the primary device
93113 by using the fbcon=map: boot option.
....@@ -98,11 +118,11 @@
98118 bool "Framebuffer Console Rotation"
99119 depends on FRAMEBUFFER_CONSOLE
100120 help
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.
121
+ 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.
106126
107127 config FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER
108128 bool "Framebuffer Console Deferred Takeover"
....@@ -116,14 +136,15 @@
116136 black screen as soon as fbcon loads.
117137
118138 config STI_CONSOLE
119
- bool "STI text console"
139
+ bool "STI text console"
120140 depends on PARISC && HAS_IOMEM
121
- select FONT_SUPPORT
122
- default y
123
- help
124
- The STI console is the builtin display/keyboard on HP-PARISC
125
- machines. Say Y here to build support for it into your kernel.
126
- The alternative is to use your primary serial port as a console.
141
+ select FONT_SUPPORT
142
+ select CRC32
143
+ 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.
127148
128149 endmenu
129150