[PATCH] fbcon: fix limited scroll in SCROLL_PAN_REDRAW mode
authorMalcom Parsons <malcolm.parsons@gmail.com>
Thu, 8 Jun 2006 07:43:42 +0000 (00:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 8 Jun 2006 22:12:21 +0000 (15:12 -0700)
commit26e780e8ef1cc3ef581a07aafe2346bb5a07b4f9
treeb62f2e5aceddd69e0671971bc84b709a5a9e3c26
parent45b35a5ced474b9fbbbfcfd5cf346c432d28d9fd
[PATCH] fbcon: fix limited scroll in SCROLL_PAN_REDRAW mode

From: Malcom Parsons <malcolm.parsons@gmail.com>

When scrolling up in SCROLL_PAN_REDRAW mode with a large limited scroll
region, the bottom few lines have to be redrawn.  Without this patch, the
wrong text is drawn into these lines, corrupting the display.

Observed in 2.6.14 when running an IRC client in the Nintendo DS linux
port.

I haven't tested if scrolling down has the same problem.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/console/fbcon.c