efi: x86: Provide EDID from GOP device
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | efi: Fix trailing whitespace in header fileinclude/ | +1 | 1 reply | |
| 2/5 | efi/libstub: gop: Find GOP handle instead of GOP datadrivers/ | +17 | 2 replies | |
| 3/5 | efi/libstub: gop: Initialize screen_info in helper functiondrivers/ | +33 | 2 replies | |
| 4/5 | efi/libstub: gop: Add support for reading EDIDdrivers/ drivers/ drivers/ +2 more | +69 | 2 replies | |
| 5/5 | efi/libstub: x86: Store EDID in boot_paramsdrivers/ | +2 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Javier Martinez Canillas |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] efi: x86: Provide EDID from GOP device
Add support for EFI_EDID_ACTIVE_PROTOCOL and EFI_EDID_DISCOVERED_PROTOCOL on x86. Refactor the GOP helpers for EDID support, then retrieve the EDID into x86 boot_params.
Later boot code copies the EDID from the boot parameters into the global variable edid_info. Graphics drivers, such as efidrm, can pick up the information from there. In the case of efidrm, it provides the EDID to user-space compositors, which use it for improved QoS on the display output. Similar functionality is already available on old VESA systems with vesadrm.
Tested on x86 EFI systems.
Another patch is required to provide EDID on non-x86 systems via the generic EFI stub. The implementation can directly build upon this series.
Thomas Zimmermann (5):
efi: Fix trailing whitespace in header file efi/libstub: gop: Find GOP handle instead of GOP data efi/libstub: gop: Initialize screen_info in helper function efi/libstub: gop: Add support for reading EDID efi/libstub: x86: Store EDID in boot_params
drivers/firmware/efi/libstub/efi-stub.c | 2 +- drivers/firmware/efi/libstub/efistub.h | 31 +++++- drivers/firmware/efi/libstub/gop.c | 137 +++++++++++++++--------- drivers/firmware/efi/libstub/x86-stub.c | 3 +- include/linux/efi.h | 4 +- 5 files changed, 120 insertions(+), 57 deletions(-)
Signature · 1 line
2.51.0