aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/tty_buffer.c
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2015-04-13 09:16:21 +0000
committerGreg Kroah-Hartman <[email protected]>2015-05-10 17:29:51 +0000
commit77232f791e0605521a978cbe7f79a93df24df374 (patch)
tree725b6420bf01dcfb3017b4db6a2ac9ceac1caaa3 /drivers/tty/tty_buffer.c
parentvt: fix console lock vs. kernfs s_active lock order (diff)
downloadkernel-77232f791e0605521a978cbe7f79a93df24df374.tar.gz
kernel-77232f791e0605521a978cbe7f79a93df24df374.zip
vt: Don't check KD_GRAPHICS when binding/unbinding
This was introduced in commit 6db4063c5b72b46e9793b0f141a7a3984ac6facf Author: Antonino A. Daplas <[email protected]> Date: Mon Jun 26 00:27:12 2006 -0700 [PATCH] VT binding: Add sysfs control to the VT layer with the justification "In addition, if any of the consoles are in KD_GRAPHICS mode, binding and unbinding will not succeed. KD_GRAPHICS mode usually indicates that the underlying console hardware is used for other purposes other than displaying text (ie X). This feature should prevent binding/unbinding from interfering with a graphics application using the VT." I think we should lift this artificial restriction though: - KD_GRAPHICS doesn't get cleaned up automatically, which means it's easy to have terminals stuck in KD_GRAPHICS when hacking around on X. - X doesn't really care, especially with drm where kms already blocks fbdev (and hence fbcon) when there's an active compositor. - This is a root-only interface with a separate .config option and it's possible to hang your machine already anyway if you unload/reload drivers and don't know what you're doing. With this patch i915.ko module reloading works again reliably, something in the recent fedora upgrades broke things. Cc: Antonino A. Daplas <[email protected]> Cc: Peter Hurley <[email protected]> Cc: Imre Deak <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Acked-by: David Herrmann <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/tty/tty_buffer.c')
0 files changed, 0 insertions, 0 deletions