]> git.ipfire.org Git - thirdparty/grub.git/commit
efi/console: Do not set text-mode until we actually need it
authorHans de Goede <hdegoede@redhat.com>
Wed, 15 Apr 2020 10:26:21 +0000 (12:26 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 21 Apr 2020 20:13:14 +0000 (22:13 +0200)
commit2d7c3abd871f6e45da35a72ac4609236141e2199
tree9bf13a02e8a4365e1c0f16a949faeb99d8f2b45d
parentea138d11bef7e7ef433643fa1ec94d4fd0bef75b
efi/console: Do not set text-mode until we actually need it

If we're running with a hidden menu we may never need text mode, so do not
change the video-mode to text until we actually need it.

This allows to boot a machine without unnecessary graphical transitions and
provide a seamless boot experience to users.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/term/efi/console.c
include/grub/term.h