Page MenuHomeFreeBSD

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

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

Details

Summary

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: https://twitter.com/michael_zhilin/status/934098353352249345

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

mizhka created this revision.Dec 19 2017, 8:36 AM
tsoome accepted this revision.Dec 19 2017, 8:53 AM
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.