Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15103
b: refs/heads/master
c: 4e1567d
h: refs/heads/master
i:
  15101: 2ad7efe
  15099: 3eea8e8
  15095: 3032e57
  15087: b305b3e
  15071: 5946427
  15039: 42303fc
  14975: fb6151e
  14847: 92d0216
v: v3
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed Dec 13, 2005
1 parent 489c4cd commit c64de43
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1207069f6f8f3d1b71641fdaa6cc04fca6fff9f5
refs/heads/master: 4e1567d3aad9bae0ecc5bb047179cd026bfb035c
25 changes: 19 additions & 6 deletions trunk/drivers/video/console/fbcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -2146,8 +2146,12 @@ static int fbcon_switch(struct vc_data *vc)

scrollback_max = 0;
scrollback_current = 0;
ops->var.xoffset = ops->var.yoffset = p->yscroll = 0;
ops->update_start(info);

if (!fbcon_is_inactive(vc, info)) {
ops->var.xoffset = ops->var.yoffset = p->yscroll = 0;
ops->update_start(info);
}

fbcon_set_palette(vc, color_table);
fbcon_clear_margins(vc, 0);

Expand Down Expand Up @@ -2746,8 +2750,12 @@ static void fbcon_modechanged(struct fb_info *info)
updatescrollmode(p, info, vc);
scrollback_max = 0;
scrollback_current = 0;
ops->var.xoffset = ops->var.yoffset = p->yscroll = 0;
ops->update_start(info);

if (!fbcon_is_inactive(vc, info)) {
ops->var.xoffset = ops->var.yoffset = p->yscroll = 0;
ops->update_start(info);
}

fbcon_set_palette(vc, color_table);
update_screen(vc);
if (softback_buf)
Expand Down Expand Up @@ -2784,8 +2792,13 @@ static void fbcon_set_all_vcs(struct fb_info *info)
updatescrollmode(p, info, vc);
scrollback_max = 0;
scrollback_current = 0;
ops->var.xoffset = ops->var.yoffset = p->yscroll = 0;
ops->update_start(info);

if (!fbcon_is_inactive(vc, info)) {
ops->var.xoffset = ops->var.yoffset =
p->yscroll = 0;
ops->update_start(info);
}

fbcon_set_palette(vc, color_table);
update_screen(vc);
if (softback_buf)
Expand Down

0 comments on commit c64de43

Please sign in to comment.