diff options
author | illiliti <illiliti@protonmail.com> | 2022-06-27 00:11:47 +0300 |
---|---|---|
committer | illiliti <illiliti@protonmail.com> | 2022-11-09 00:25:18 +0300 |
commit | eec95e3d5e1a4f2e13b1f6b34cc287475ca57daf (patch) | |
tree | e47f5e1f096d9dd79b3a46dd47538fba6cb0a356 /include | |
parent | d75b4d8e866cadc8d22687243ddb10eb77ee0374 (diff) |
backend/drm: use pnp.ids to fetch EDID data
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/drm/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/backend/drm/util.h b/include/backend/drm/util.h index 0d4c3d74..9bfe5f8a 100644 --- a/include/backend/drm/util.h +++ b/include/backend/drm/util.h @@ -10,6 +10,8 @@ struct wlr_drm_connector; // Calculates a more accurate refresh rate (mHz) than what mode itself provides int32_t calculate_refresh_rate(const drmModeModeInfo *mode); enum wlr_output_mode_aspect_ratio get_picture_aspect_ratio(const drmModeModeInfo *mode); +// Returns manufacturer based on pnp id +const char *get_pnp_manufacturer(uint16_t code); // Populates the make/model/phys_{width,height} of output from the edid data void parse_edid(struct wlr_drm_connector *conn, size_t len, const uint8_t *data); |