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