diff options
Diffstat (limited to 'drivers/video/console')
-rw-r--r-- | drivers/video/console/fbcon.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index 3b3f5749af92..26bf7cbfecc2 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c | |||
@@ -283,7 +283,8 @@ static inline int fbcon_is_inactive(struct vc_data *vc, struct fb_info *info) | |||
283 | struct fbcon_ops *ops = info->fbcon_par; | 283 | struct fbcon_ops *ops = info->fbcon_par; |
284 | 284 | ||
285 | return (info->state != FBINFO_STATE_RUNNING || | 285 | return (info->state != FBINFO_STATE_RUNNING || |
286 | vc->vc_mode != KD_TEXT || ops->graphics); | 286 | vc->vc_mode != KD_TEXT || ops->graphics) && |
287 | !vt_force_oops_output(vc); | ||
287 | } | 288 | } |
288 | 289 | ||
289 | static inline int get_color(struct vc_data *vc, struct fb_info *info, | 290 | static inline int get_color(struct vc_data *vc, struct fb_info *info, |
@@ -1073,6 +1074,7 @@ static void fbcon_init(struct vc_data *vc, int init) | |||
1073 | if (p->userfont) | 1074 | if (p->userfont) |
1074 | charcnt = FNTCHARCNT(p->fontdata); | 1075 | charcnt = FNTCHARCNT(p->fontdata); |
1075 | 1076 | ||
1077 | vc->vc_panic_force_write = !!(info->flags & FBINFO_CAN_FORCE_OUTPUT); | ||
1076 | vc->vc_can_do_color = (fb_get_color_depth(&info->var, &info->fix)!=1); | 1078 | vc->vc_can_do_color = (fb_get_color_depth(&info->var, &info->fix)!=1); |
1077 | vc->vc_complement_mask = vc->vc_can_do_color ? 0x7700 : 0x0800; | 1079 | vc->vc_complement_mask = vc->vc_can_do_color ? 0x7700 : 0x0800; |
1078 | if (charcnt == 256) { | 1080 | if (charcnt == 256) { |