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)
Jan 26 2024, 1:57 PM
Unknown Object (File)
Jan 2 2024, 9:49 PM
Unknown Object (File)
Oct 11 2023, 10:21 PM
Unknown Object (File)
Sep 19 2023, 11:22 AM
Unknown Object (File)
Aug 20 2023, 10:31 PM
Unknown Object (File)
Jun 29 2023, 2:01 PM
Unknown Object (File)
Jun 26 2023, 11:47 PM
Unknown Object (File)
Jun 26 2023, 11:45 PM
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.