From: Robbie Harwood <rharwood@redhat.com>
To: Javier Martinez Canillas <javierm@redhat.com>,
The development of GNU GRUB <grub-devel@gnu.org>,
Hans de Goede <hdegoede@redhat.com>
Subject: Re: [PATCH 2/2] EFI: console: Do not set cursor until the first text output
Date: Mon, 31 Jan 2022 13:44:07 -0500 [thread overview]
Message-ID: <jlgleyvpwy0.fsf@redhat.com> (raw)
In-Reply-To: <761420ab-d5ce-15ee-4ab7-a9e1a2627cd5@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1129 bytes --]
Javier Martinez Canillas <javierm@redhat.com> writes:
> On 1/28/22 12:43, Hans de Goede wrote:
>> To allow flickerfree boot the EFI console code does not call
>> grub_efi_set_text_mode (1) until some text is actually output.
>>
>> Depending on if the output text is because of an error loading
>> e.g. the .cfg file; or because of showing the menu the cursor needs
>> to be on or off when the first text is shown.
>>
>> So far the cursor was hardcoded to being on, but this is causing
>> drawing artifacts + slow drawing of the menu as reported here:
>> https://bugzilla.redhat.com/show_bug.cgi?id=1946969
>>
>> Handle the cursorstate in the same way as the colorstate to fix this,
>> when no text has been output yet, just cache the cursorstate and
>> then use the last set value when the first text is output.
>>
>> Fixes: 2d7c3abd871f ("efi/console: Do not set text-mode until we actually need it")
>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>> ---
>
> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Robbie Harwood <rharwood@redhat.com>
Be well,
--Robbie
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]
next prev parent reply other threads:[~2022-01-31 18:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-28 11:43 [PATCH 1/2] EFI: console: Do not set colorstate until the first text output Hans de Goede
2022-01-28 11:43 ` [PATCH 2/2] EFI: console: Do not set cursor " Hans de Goede
2022-01-30 13:35 ` Javier Martinez Canillas
2022-01-31 18:44 ` Robbie Harwood [this message]
2022-01-30 13:33 ` [PATCH 1/2] EFI: console: Do not set colorstate " Javier Martinez Canillas
2022-01-31 18:44 ` Robbie Harwood
2022-03-04 10:30 ` Hans de Goede
2022-03-04 20:08 ` Daniel Kiper
2022-03-17 21:42 ` Daniel Kiper
2022-03-22 15:48 ` Daniel Kiper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jlgleyvpwy0.fsf@redhat.com \
--to=rharwood@redhat.com \
--cc=grub-devel@gnu.org \
--cc=hdegoede@redhat.com \
--cc=javierm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.