[ipxe-devel] [ipxe] Initial support for automatically choosing resolution based on EDID (#48)

Jonathan Dieter notifications at github.com
Mon Mar 14 12:51:05 UTC 2016


Ok, here's a more elegant way of automatically choosing the resolution based on the EDID returned by the monitor.  This patch adds an "-a" option to the console command that will automatically choose the best resolution.

edid.c and edid.h are originally from xrandr, but with some formatting changes to make them fit in better with the ipxe code base, and some new interface code.

Compiling with DEBUG=edid:2 will give you a human-readable dump of the EDID when you run "console -a".
You can view, comment on, or merge this pull request online at:

  https://github.com/ipxe/ipxe/pull/48

-- Commit Summary --

  * [edid] Initial support for parsing a monitor's EDID
  * [efi] Add new console option to select preferred resolution using EDID

-- File Changes --

    A src/core/edid.c (869)
    M src/hci/commands/console_cmd.c (2)
    A src/include/edid.h (190)
    M src/include/ipxe/console.h (2)
    A src/include/ipxe/efi/Protocol/EdidActive.h (52)
    A src/include/ipxe/efi/Protocol/EdidDiscovered.h (50)
    A src/include/ipxe/efi/Protocol/EdidOverride.h (67)
    M src/include/ipxe/efi/efi.h (2)
    M src/include/ipxe/errfile.h (1)
    M src/interface/efi/efi_fbcon.c (89)
    M src/interface/efi/efi_guid.c (10)

-- Patch Links --

https://github.com/ipxe/ipxe/pull/48.patch
https://github.com/ipxe/ipxe/pull/48.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/ipxe/ipxe/pull/48
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20160314/db2b45f4/attachment.htm>


More information about the ipxe-devel mailing list