aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/console/Kconfig
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2007-07-17 07:05:28 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 13:23:11 -0400
commit623e71b035cb5271028500720b3622ba76db42bb (patch)
tree651cd606c57b1e1322f92e0406d744a2b341da7e /drivers/video/console/Kconfig
parent317b3c2167f5326a7de30a1abe50c9897da7a0e3 (diff)
fbcon: allow fbcon to use the primary display driver
Allow fbcon to select the primary display adapter using the fb_is_primary_device() arch-specific helper. If a a primary adapter is detected, fbcon will unbind the old adapter from the VT layer, then rebind using the new adapter. This requires that bind_/unbind_con_driver() be made public. Because this feature may produce unexpected behavior (from the user's POV), this must be explicitly enabled in Kconfig. [akpm@linux-foundation.org: export unbind_con_driver] Signed-off-by: Antonino Daplas <adaplas@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/console/Kconfig')
-rw-r--r--drivers/video/console/Kconfig20
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/video/console/Kconfig b/drivers/video/console/Kconfig
index d3b8a6be2916..160f55f7ac96 100644
--- a/drivers/video/console/Kconfig
+++ b/drivers/video/console/Kconfig
@@ -118,6 +118,26 @@ config FRAMEBUFFER_CONSOLE
118 help 118 help
119 Low-level framebuffer-based console driver. 119 Low-level framebuffer-based console driver.
120 120
121config FRAMEBUFFER_CONSOLE_DETECT_PRIMARY
122 bool "Map the console to the primary display device"
123 depends on FRAMEBUFFER_CONSOLE && VT_HW_CONSOLE_BINDING
124 default n
125 ---help---
126 If this option is selected, the framebuffer console will
127 automatically select the primary display device (if the architecture
128 supports this feature). Otherwise, the framebuffer console will
129 always select the first framebuffer driver that is loaded. The latter
130 is the default behavior.
131
132 You can always override the automatic selection of the primary device
133 by using the fbcon=map: boot option.
134
135 To select this feature, "Support for binding and unbinding console
136 drivers", under "Device Drivers"->"Character Devices" must be set to
137 y.
138
139 If unsure, select n.
140
121config FRAMEBUFFER_CONSOLE_ROTATION 141config FRAMEBUFFER_CONSOLE_ROTATION
122 bool "Framebuffer Console Rotation" 142 bool "Framebuffer Console Rotation"
123 depends on FRAMEBUFFER_CONSOLE 143 depends on FRAMEBUFFER_CONSOLE