提交 308af929 编写于 作者: D David Hollister 提交者: Linus Torvalds

[PATCH] fbcon: 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: NDavid Hollister <david.hollister@amd.com>
Signed-off-by: NJordan Crouse <jordan.crouse@amd.com>
Cc: "Antonino A. Daplas" <adaplas@gmail.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 6855a3a6
...@@ -2631,7 +2631,7 @@ static int fbcon_scrolldelta(struct vc_data *vc, int lines) ...@@ -2631,7 +2631,7 @@ static int fbcon_scrolldelta(struct vc_data *vc, int lines)
scr_memcpyw((u16 *) q, (u16 *) p, scr_memcpyw((u16 *) q, (u16 *) p,
vc->vc_size_row); vc->vc_size_row);
} }
softback_in = p; softback_in = softback_curr = p;
update_region(vc, vc->vc_origin, update_region(vc, vc->vc_origin,
logo_lines * vc->vc_cols); logo_lines * vc->vc_cols);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册