fbcon: delay screen update when setting the mode of all consoles
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 8 May 2007 07:38:40 +0000 (00:38 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:29 +0000 (11:15 -0700)
commit95d67bb1ca82dc8bd75304bda891e7ad81ecd935
tree044b0526dc9406abd1d525a64f7949214a92b402
parentb2f594fd7adff7aae2d1664e72044926b0b906aa
fbcon: delay screen update when setting the mode of all consoles

If the current framebuffer console is rotated (rotate != 0), doing an
"fbset -a" will corrupt the current console.  Fix by updating the current
console only after all non-visible consoles have been updated.

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/console/fbcon.c