]> git.baikalelectronics.ru Git - kernel.git/commit
fbdev: fbcon: select VT_HW_CONSOLE_BINDING
authorDavid Herrmann <dh.herrmann@gmail.com>
Fri, 2 Aug 2013 12:05:27 +0000 (14:05 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 2 Aug 2013 23:17:51 +0000 (16:17 -0700)
commit11092a7be50700d9c567c1e8edef9e32beadea9b
treef4aefaaedbb86619442ce7982d8cf9d3e2ee6ab1
parentecb4e39d6f87c6ceba56059bbc6ff36186fcc16d
fbdev: fbcon: select VT_HW_CONSOLE_BINDING

fbdev provides framebuffer hotplugging, hence, we need to allow fbcon to
unbind from framebuffers. Unfortunately, fbcon_fb_unbind() cannot unbind
from the last framebuffer, unless console-unbinding is supported.

Fixing fbcon_unbind() to return 0 caused some horrible NULL-derefs in the
VT layer and I couldn't figure out why. Hence, lets just require
console-unbinding so fbdev hotplugging works with fbcon.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Link: http://lkml.kernel.org/r/1375445127-15480-9-git-send-email-dh.herrmann@gmail.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
drivers/video/console/Kconfig