]> git.baikalelectronics.ru Git - kernel.git/commit
tty vt: Fix line garbage in virtual console on command line edition
authorJean-François Moine <moinejf@free.fr>
Thu, 6 Sep 2012 17:24:13 +0000 (19:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2012 23:35:46 +0000 (16:35 -0700)
commit0ca3f324181581032e9721b1b9e096b1d4cef4a5
treeeae38415e2e1c13844b5621c3fe0cd8e658c7439
parent3531def889e02480490858bb7c07eda4d2700d63
tty vt: Fix line garbage in virtual console on command line edition

On some machines using a specific hardware for console screen output,
the update of the pixel frame buffer does not work correctly when
using command line edition. This may be due to a memory cache bug
in the machine on which the problem has been found, but an other
solution is possible.

This patch proposes to avoid touching directly the pixel frame buffer
and to rebuild each character using the standard putc() function
on command line edition.

The resulting code is smaller and not obviously slower (no read
access to the pixel frame buffer).

Tested on a Cubox (ARM Marvell Dove 88AP510 SoC).

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vt.c