]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] VGA to fbcon fix.
authorJames Simmons <jsimmons@pentafluge.infradead.org>
Wed, 22 Jun 2005 00:17:00 +0000 (17:17 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 22 Jun 2005 02:07:40 +0000 (19:07 -0700)
commit0566d5b985c6d655cd9d8dc94f0045686327c75b
treeee31f412a9b0a123cac5b3ecc363969be68f7f3b
parentefe9c7df4118b0dad417e8951830baa1fbcc9b76
[PATCH] VGA to fbcon fix.

Currently when going from vgacon to fbcon the VT screenbuffer are often
different sizes.  In the case when they are different sizes a new VT
screenbuffer is allocated and the contents are copied into the new buffer.

Currently the amount copied from VGA text memory to the new screenbuf is
the size of the framebuffer console.  If the framebuffer console new VT
screen buffer is greater than the VGA text memory size then we get some of
the VGA BIOS contents as well.

This patch will only allow you to copy up to the size of VGA text memory
now.  The rest is filled with erase characters.

Initial patch by Jordan Crouse <jordan.crouse@amd.com>

Signed-off-by: James Simmons <jsimmons@www.infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/console/vgacon.c