Page MenuHomeFreeBSD

[efi/boot1] Scan all display modes rather than sequential try-fail way

Authored by mizhka on Dec 19 2017, 8:36 AM.



Before system tried to select optimal display mode by sequential scan of modes and if error then stop scanning. This way is not good, because if mode N is not present, mode N+1 may exist. In loader we use conout->Mode->MaxMode to identify maximum number of mode. This proposal is to use same way in boot1 as in loader.

Test Plan

Tested on Dell inspiron 5537.
Also it solves issue with VT for this laptop:

Diff Detail

rS FreeBSD src repository - subversion
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Dec 19 2017, 8:53 AM
This revision was automatically updated to reflect the committed changes.