diff options
author | Simon Ser <contact@emersion.fr> | 2022-07-08 22:04:20 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-07-25 17:28:33 +0000 |
commit | bd587a7f431e53764d5e8051f2717d32d4c62b69 (patch) | |
tree | c3ba457a8ecd2c75bf02c9daeca89c27fdfbd31f /include/backend | |
parent | 972a5cdf7a9701a266119d60da48624ca8ebf703 (diff) |
backend/drm: use drmModeGetConnectorTypeName
No need to manually maintain this table now.
The wlroots names and the libdrm (= kernel) names all match.
References: https://gitlab.freedesktop.org/mesa/drm/-/commit/50f8d517733d24fce6693ffae552f9833e2e6aa9
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/drm/util.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/backend/drm/util.h b/include/backend/drm/util.h index 323894b5..fc632e12 100644 --- a/include/backend/drm/util.h +++ b/include/backend/drm/util.h @@ -11,8 +11,6 @@ struct wlr_drm_connector; int32_t calculate_refresh_rate(const drmModeModeInfo *mode); // 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); -// Returns the string representation of a DRM output type -const char *conn_get_name(uint32_t type_id); // Part of match_obj enum { |