I've been playing around with trying to find a better solution to the
screen corruption that I was getting when the fbcon driver takes over
the console. I came up with the following modifications which are a
better solution for the following reasons:
1) Only the vt take_over_console code needs to be changed and not all
the console drivers and fb drivers.
2) It also keeps the console drivers from accessing freed resources
when printk output happens between the calls to con_deinit and visual_init.
It's the printk's between the call to save_screen and visual_init which
cause vgacon to mess up it's saved screen buffer. Putting the vt in
KD_GRAPHICS mode causes all physical output to be deferred until the new
console has taken over.
Comments?
John