]> git.baikalelectronics.ru Git - kernel.git/commit
fbcon: allow fbcon to use the primary display driver
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 17 Jul 2007 11:05:28 +0000 (04:05 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:11 +0000 (10:23 -0700)
commit7f011f60c9c910cb9609c330310cd5fb5f5efa19
tree651cd606c57b1e1322f92e0406d744a2b341da7e
parent268b7034a580ca14eb59a9a8659495a6443e854f
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>
arch/i386/video/fbdev.c
drivers/char/vt.c
drivers/video/console/Kconfig
drivers/video/console/fbcon.c
include/linux/vt_kern.h