loader.efi: efifb_gop_get_edid() is broken
First of all, we need gop handle, not protocol to read out the EDID. Then, to simplify our life, use EFI_OPEN_PROTOCOL_GET_PROTOCOL. This allows us to save from cleanup.
Also add back fallback to EFI_EDID_DISCOVERED_PROTOCOL_GUID, even as EFI_EDID_ACTIVE_PROTOCOL_GUID should do, we never know.
Testing done: confirm with framebuffer get, we do have EDID.
Updated by Electric Monk over 1 year ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit f38f28fdbc29b3c5020295a6c6cb1ac52e949978 Author: Toomas Soome <email@example.com> Date: 2021-03-16T18:15:13.000Z 13574 loader.efi: efifb_gop_get_edid() is broken Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>