loader.efi: handle multiple gop instances
Some systems may provide multiple GOP instances and not all are bound to hardware. The current loader is picking up the first GOP, which may not be usable. Instead we load the GOP handle array, and test every handle to have registered ConOut protocol. If ConOut is present, we can use this GOP handle to open GOP protocol.
Testing done: main testing was done by FreeBSD users encountering the issue where console was not being drawn and remained black. Also tested on my own systems.
Updated by Electric Monk over 1 year ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 72973a2ec5f92e2ddf35c4a344567980fae70ec1 Author: Toomas Soome <email@example.com> Date: 2021-02-10T19:17:30.000Z 13453 loader.efi: handle multiple gop instances Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>