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.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 11:16 AM
Unknown Object (File)
Sat, Dec 21, 6:22 AM
Unknown Object (File)
Oct 29 2024, 11:47 AM
Unknown Object (File)
Oct 29 2024, 11:46 AM
Unknown Object (File)
Oct 29 2024, 11:46 AM
Unknown Object (File)
Oct 29 2024, 11:26 AM
Unknown Object (File)
Oct 29 2024, 4:47 AM
Unknown Object (File)
Oct 28 2024, 2:59 AM
Subscribers
None

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 - subversion
Lint
Lint Not Applicable
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.