linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fbcon: Fix scrollback with logo issue immediately after boot
@ 2006-05-24 19:41 Jordan Crouse
  2006-05-25  0:35 ` Antonino A. Daplas
  0 siblings, 1 reply; 3+ messages in thread
From: Jordan Crouse @ 2006-05-24 19:41 UTC (permalink / raw)
  To: linux-fbdev-devel; +Cc: david.hollister

[-- Attachment #1: Type: text/plain, Size: 199 bytes --]

Greeting folks -

Sending on a patch against latest git that attempts to fix an issue with
the scrollback buffer in the fbcon immediately after boot.    As always,
comments welcome.

Regards,
Jordan

[-- Attachment #2: fbcon.patch --]
[-- Type: text/plain, Size: 994 bytes --]

PATCH: Fix scrollback with logo issue immediately after boot.

From: David Hollister <david.hollister@amd.com>

After the system boots with the logo, if the first action is a
scrollback, the screen may become garbled.  This patch ensures
that the softback_curr value is updated along with softback_in
following the scrollback.

Signed-off-by: David Hollister <david.hollister@amd.com>
Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
---

 drivers/video/console/fbcon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
index ca02071..953eb8c 100644
--- a/drivers/video/console/fbcon.c
+++ b/drivers/video/console/fbcon.c
@@ -2631,7 +2631,7 @@ static int fbcon_scrolldelta(struct vc_d
 					scr_memcpyw((u16 *) q, (u16 *) p,
 						    vc->vc_size_row);
 				}
-				softback_in = p;
+				softback_in = softback_curr = p;
 				update_region(vc, vc->vc_origin,
 					      logo_lines * vc->vc_cols);
 			}

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-05-25 13:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-24 19:41 [PATCH] fbcon: Fix scrollback with logo issue immediately after boot Jordan Crouse
2006-05-25  0:35 ` Antonino A. Daplas
2006-05-25 13:32   ` David Hollister

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).