linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jordan Crouse" <jordan.crouse@amd.com>
To: linux-fbdev-devel@lists.sourceforge.net
Cc: david.hollister@amd.com
Subject: [PATCH] fbcon: Fix scrollback with logo issue immediately after boot
Date: Wed, 24 May 2006 13:41:28 -0600	[thread overview]
Message-ID: <20060524194128.GA2680@cosmic.amd.com> (raw)

[-- 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);
 			}

             reply	other threads:[~2006-05-24 19:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-24 19:41 Jordan Crouse [this message]
2006-05-25  0:35 ` [PATCH] fbcon: Fix scrollback with logo issue immediately after boot Antonino A. Daplas
2006-05-25 13:32   ` David Hollister

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060524194128.GA2680@cosmic.amd.com \
    --to=jordan.crouse@amd.com \
    --cc=david.hollister@amd.com \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).