grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 0/6] Improvements to EFI console and terminal drivers for Flic


From: Javier Martinez Canillas
Subject: [PATCH v2 0/6] Improvements to EFI console and terminal drivers for Flicker Free Boot
Date: Tue, 7 Apr 2020 11:03:45 +0200

Hello,

This patch series was split from a previously posted patch-set [0]. It contains
improvements for the EFI console and terminal drivers that allows to avoid the
switch to text-mode until is needed.

This is part of the patches we have in Fedora to support the Flicker Free Boot
feature [1], which allows to have a seamless boot experience with no graphical
transitions that aren't necessary. More info can be found in Hans' blog [2,3].

We have additional patches for this feature, for example template changes that
makes hiding the menu only when the previous boot was successful, and to make
GRUB less noisy and not print unnecessary output. But those will be posted in
the future once the paches on this set land.

[0]: https://lists.gnu.org/archive/html/grub-devel/2020-03/msg00152.html
[1]: https://fedoraproject.org/wiki/Changes/FlickerFreeBoot
[2]: https://hansdegoede.livejournal.com/19224.html
[3]: https://hansdegoede.livejournal.com/20632.html

Best regards,
Javier

Changes in v2:
- Mention in commit message that logic is unchanged after patch #1.
- Add better explanation about why the change in patch #1 is needed.
- Also mention in commit message that logic is unchanged after patch #2.
- Explain why the helper function needs to be available for other modules.
- Move patch #2 earlier in the patch-set since is a proparatory change.
- Explain why the getkeystatus() handler is needed for the EFI console driver.
- Code style cleanups.
- Fix commit message that had left overs from when F8 was used instead of F4.
- Update documentation to explain that F4 and SHIFT are used now besides ESC.
- Also fix comments to reflect that F4 is used now and use proper style.

Hans de Goede (5):
  kern/term: Make grub_getkeystatus helper function available everywhere
  efi/console: Add grub_console_read_key_stroke() helper function
  efi/console: Implement getkeystatus() support
  efi/console: Do not set text-mode until we actually need it
  kern/term: Accept ESC, F4 and holding SHIFT as user interrupt keys

Javier Martinez Canillas (1):
  efi/console: Move grub_console_set{colorstate,cursor} higher in the
    file

 docs/grub.texi                 |  32 ++---
 grub-core/commands/keystatus.c |  18 ---
 grub-core/commands/sleep.c     |   2 +-
 grub-core/kern/term.c          |  39 ++++++
 grub-core/normal/menu.c        |   2 +-
 grub-core/term/efi/console.c   | 241 ++++++++++++++++++++++-----------
 include/grub/term.h            |   6 +-
 7 files changed, 225 insertions(+), 115 deletions(-)

-- 
2.25.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]