From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Schwab Date: Mon, 01 Apr 2019 19:31:26 +0000 Subject: Re: [PATCH v5 2/2] fbcon: Silence fbcon logo on 'quiet' boots Message-Id: <87ftr1ed4h.fsf@igel.home> List-Id: References: <20190129134350.24049-1-prarit@redhat.com> <20190129134350.24049-3-prarit@redhat.com> In-Reply-To: <20190129134350.24049-3-prarit@redhat.com> (Prarit Bhargava's message of "Tue, 29 Jan 2019 08:43:50 -0500") MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Prarit Bhargava Cc: Marko Myllynen , linux-fbdev@vger.kernel.org, Kees Cook , Bartlomiej Zolnierkiewicz , Daniel Vetter , Steven Rostedt , Yisheng Xie , Hans de Goede , dri-devel@lists.freedesktop.org, Thierry Reding 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 = FBCON_LOGO_DONTSHOW || > (info->fix.type = FB_TYPE_TEXT)) > logo = 0; This causes the scroll region to no longer be reset when the logo is removed. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."