[PATCH] minor fbcon_scroll adjustment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(Note: Patch also attached because the inline version is certain to get
line wrapped.)

An adjustment to the SM_DOWN case of fbcon_scroll to match the behavior
of
SM_UP.

Signed-off-by: Jan Beulich <[email protected]>

diff -Npru 2.6.13/drivers/video/console/fbcon.c
2.6.13-fbcon-logo-scroll-down/drivers/video/console/fbcon.c
--- 2.6.13/drivers/video/console/fbcon.c	2005-08-29
01:41:01.000000000 +0200
+++
2.6.13-fbcon-logo-scroll-down/drivers/video/console/fbcon.c	2005-09-07
11:15:44.000000000 +0200
@@ -1662,6 +1662,8 @@ static int fbcon_scroll(struct vc_data *
 	case SM_DOWN:
 		if (count > vc->vc_rows)	/* Maximum realistic
size */
 			count = vc->vc_rows;
+		if (logo_shown >= 0)
+			goto redraw_down;
 		switch (p->scrollmode) {
 		case SCROLL_MOVE:
 			ops->bmove(vc, info, t, 0, t + count, 0,

Attachment: linux-2.6.13-fbcon-logo-scroll-down.patch
Description: Binary data


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux