From: Knut Petersen Date: Sat, 7 Jan 2006 09:22:04 +0000 (+0100) Subject: [PATCH] fbcon: don´t call set_par() in fbcon_init() if vc_mode == KD_GRAPHICS X-Git-Tag: v2.6.16-rc1~932 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d354d9afe923eb08f7ee89128b38ddb6415de01d;p=pandora-kernel.git [PATCH] fbcon: don´t call set_par() in fbcon_init() if vc_mode == KD_GRAPHICS Nothing prevents a user to modprobe a framebuffer driver from e.g. the xterm prompt. As a result, the set_par() function of the driver will be called from fbcon_init(). This is fatal as a lot of X / framebuffer combinations are unable to recover from set_par() reprogramming the graphics controller in KD_GRAPHICS mode. It is also unnecessary as the set_par() function will be called during a switch to KD_TEXT anyway. Because of this no side effects are possible. Signed-off-by: Knut Petersen Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed