]> git.baikalelectronics.ru Git - kernel.git/commit
vt: do not update when the console is blanked
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 24 Jul 2008 04:29:59 +0000 (21:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:30 +0000 (10:47 -0700)
commit737491764360d9075eab6812b9c535ac45ff3470
treeea15f9d3f3a800d5ff938e645cc046a67ebc4ad3
parent00225b6be0d7680f6772af3c23457ceb7624baff
vt: do not update when the console is blanked

vt.c DO_UPDATE macro checks if the console is visible but doesn't check if
the console is blanked.

In fact updating fbcon while the console is blanked is not only
unnecessary but can even cause screen corruption.

Therefore I am adding a simple check on console_blanked in DO_UPDATE.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/vt.c