Kconfig 5.0 KB

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