summary refs log tree commit diff
path: root/drivers/video/pmagb-b-fb.c
diff options
context:
space:
mode:
authorKnut Petersen <Knut_Petersen@t-online.de>2006-01-07 10:22:04 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-07 10:39:34 -0800
commitd354d9afe923eb08f7ee89128b38ddb6415de01d (patch)
treeb4ce49dd4ad6963bff6b69ba413f074b11114837 /drivers/video/pmagb-b-fb.c
parentf9a204e1de73a7007de66fb289e1d64a7665c9b4 (diff)
downloadlinux-d354d9afe923eb08f7ee89128b38ddb6415de01d.tar.gz
[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 <Knut_Petersen@t-online.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/pmagb-b-fb.c')
0 files changed, 0 insertions, 0 deletions