diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-01-21 09:02:13 -0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-01-21 09:02:13 -0800 |
commit | 253b8db298f38676e47dc902534465054f7b58b8 (patch) | |
tree | 398be954a50e576b673457cd4ff2679f791a912f | |
parent | 131b414feb2ecabe31b538d65725ac4427a4387a (diff) |
Don't run in KD_TEXT mode even with KMS
Leaving the VT in KD_TEXT mode keeps the kernel's blanking code active,
so when a DPMS event happens, the fb console is restored rather than X's
configuration. On the downside it means the kernel won't print messages
in the background, which would be visible if a panic or emergency switch
occurred. The proper fix here is a new kernel mode, which we can move
to when ready.
-rw-r--r-- | src/i830_driver.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c index 4a9b9d05..bf5ecc49 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -1226,10 +1226,6 @@ i830SetHotkeyControl(ScrnInfoPtr pScrn, int mode) * DRM mode setting Linux only at this point... later on we could * add a wrapper here. */ -#ifdef __linux__ -#include <linux/kd.h> -#endif - static Bool i830_kernel_mode_enabled(ScrnInfoPtr pScrn) { #if XSERVER_LIBPCIACCESS @@ -1254,10 +1250,6 @@ static Bool i830_kernel_mode_enabled(ScrnInfoPtr pScrn) if (ret) return FALSE; -#ifdef __linux__ - ioctl(xf86Info.consoleFd, KDSETMODE, KD_TEXT); -#endif - return TRUE; } #else |