Re: [PATCH i-g-t 1/6] lib/igt_edid: add EDID serial extraction helpers

Simon Ser
2026-04-14T09:55:41Z

On Tuesday, April 14th, 2026 at 11:11, Jani Nikula <jani.nikula@intel.com> wrote:

> On Thu, 09 Apr 2026, Kunal Joshi <kunal1.joshi@intel.com> wrote:
> > Add helpers to extract serial identification from EDID data.
> >
> > - edid_get_serial_string(): extract ASCII serial from descriptor 0xFF
> > - edid_get_serial_number(): extract 32-bit serial from EDID header
> > - edid_get_any_serial(): convenience helper that tries ASCII serial
> > first, then falls back to 32-bit header serial formatted as hex
> >
> > These are needed by the connector helper and USB4 switch test suite
> > for EDID-based display verification after dock/undock events.
>
> Time to consider using libdisplay-info [1] in IGT?

I think that would make a lot of sense. Feel free to ping me if you have
any questions or if the library is missing anything that IGT needs.

Simon