fbcon: fix scrolling after logo is cleared

If the 'clear' command is used on the frame buffer with a logo the upper
area is filled by few lines but not scrolled anymore.

Fix this by removing the protected area for the logo if any part of the
logo is cleared.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Krzysztof Helt and committed by Linus Torvalds c213ddf3 efc49181

+3
+3
drivers/video/console/fbcon.c
··· 1311 if (!height || !width) 1312 return; 1313 1314 /* Split blits that cross physical y_wrap boundary */ 1315 1316 y_break = p->vrows - p->yscroll;
··· 1311 if (!height || !width) 1312 return; 1313 1314 + if (sy < vc->vc_top && vc->vc_top == logo_lines) 1315 + vc->vc_top = 0; 1316 + 1317 /* Split blits that cross physical y_wrap boundary */ 1318 1319 y_break = p->vrows - p->yscroll;