backend/drm: fetch EDID manufacturer from udev_hwdb

Maintaining our internal table up-to-date is tedious: one needs to
manually go through the PnP ID registry [1] and check whether we're
missing any entry.

udev_hwdb already has an API to fetch a manufacturer name from its
PnP ID. Use that instead.

[1]: https://uefi.org/pnp_id_list
This commit is contained in:
Simon Ser 2022-05-06 11:58:17 +02:00 committed by Simon Zeni
parent fa9b61004b
commit e646d882cf
5 changed files with 67 additions and 81 deletions

View file

@ -58,6 +58,7 @@ struct wlr_drm_backend {
const struct wlr_drm_interface *iface;
clockid_t clock;
bool addfb2_modifiers;
struct udev_hwdb *hwdb;
int fd;
char *name;