Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
gitlab.freedesktop.org will be unavailable for up to a week starting March 16th, due to our ongoing infrastructure move. You can follow our planning tracker at https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/2076
This series prepares libweston/DRM-backend to use libdisplay-info for parsing EDID. Libdisplay-info will be used if it was found during build. There is also a Meson sub-project for fallback.
The old ad hoc EDID parsing code is still left in, to be used when libdisplay-info is not available. The old code is intended to be removed in the future and make libdisplay-info a hard dependency in DRM-backend.
The old ad hoc parser will no longer pretend that all monitors are capable of all HDR modes. This makes libdisplay-info mandatory for HDR testing already. In the future, libdisplay-info will be used to extract HDR information from EDID, and the ad hoc parser will not get code for that.
Considerations for merging during the release cycle: no ABI is broken, I think the changes are low-risk, and even though a new dependency is introduced, it is optional and automatic. Therefore I think this is suitable for landing before the beta release.
Libdisplay-info does produce potentially different strings than the old ad hoc code.
Draft until I have fixed CI failures.