Re: [PATCH v5 2/2] fbcon: Silence fbcon logo on 'quiet' boots

2019-04-02 Thread Andreas Schwab
On Apr 02 2019, Prarit Bhargava wrote: > On 4/1/19 3:31 PM, Andreas Schwab wrote: >> On Jan 29 2019, Prarit Bhargava wrote: >> >>> @@ -1066,6 +1069,9 @@ static void fbcon_init(struct vc_data *vc, int init) >>> >>> cap = info->flags; >>> >>> + if (console_loglevel <=

Re: [PATCH v5 2/2] fbcon: Silence fbcon logo on 'quiet' boots

2019-04-02 Thread Prarit Bhargava
On 4/1/19 3:31 PM, Andreas Schwab wrote: > On Jan 29 2019, Prarit Bhargava wrote: > >> @@ -1066,6 +1069,9 @@ static void fbcon_init(struct vc_data *vc, int init) >> >> cap = info->flags; >> >> +if (console_loglevel <= CONSOLE_LOGLEVEL_QUIET) >> +logo_shown =

Re: [PATCH v5 2/2] fbcon: Silence fbcon logo on 'quiet' boots

2019-04-01 Thread Andreas Schwab
On Jan 29 2019, Prarit Bhargava wrote: > @@ -1066,6 +1069,9 @@ static void fbcon_init(struct vc_data *vc, int init) > > cap = info->flags; > > + if (console_loglevel <= CONSOLE_LOGLEVEL_QUIET) > + logo_shown = FBCON_LOGO_DONTSHOW; > + > if (vc != svc || logo_shown

[PATCH v5 2/2] fbcon: Silence fbcon logo on 'quiet' boots

2019-01-29 Thread Prarit Bhargava
On text-based systems the 'quiet' boot option will show printk levels higher than CONSOLE_LOGLEVEL_QUIET. The displaying of the Tux logo during boot can cause some consoles to lose display data and as a result confuse the end user. Do not display the Tux logo on systems that are in 'quiet' boot.