From bd587a7f431e53764d5e8051f2717d32d4c62b69 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 8 Jul 2022 22:04:20 +0200 Subject: 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 --- include/backend/drm/util.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/backend/drm') 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 { -- cgit v1.2.3