]> git.hungrycats.org Git - linux/commit
[PATCH] Mode Switch in fbcon_blank()
authorAntonino Daplas <adaplas@hotpop.com>
Fri, 2 Jul 2004 03:32:32 +0000 (20:32 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 2 Jul 2004 03:32:32 +0000 (20:32 -0700)
commitbd8450b94c41c13618a68f6fda1329792921f8bf
tree5b69a88231e237212dc5784f2df13eb1490cec28
parent217f511e5e9245be6b98aeb9b99db0b0f19d1c42
[PATCH] Mode Switch in fbcon_blank()

As we've discussed in another thread, below is a diff that will do a set_par()
as late as possible when there is KD_TEXT<->KD_GRAPHICS switch.  The set_par()
will be forced in fbcon_resize() instead.

Not sure if this has repercussions with the other drivers, but this patch
fixed the X nv driver hanging when switching to the console.  (I believe the
crash is actually caused by an early set_par() -- while in fbcon_blank.
Removing the set_par in fbcon_blank fixed the hang but caused cursor sprite
and display corruption).

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/console/fbcon.c
include/linux/fb.h