backend/drm: use drmModeGetConnectorTypeName

No need to manually maintain this table now.

The wlroots names and the libdrm (= kernel) names all match.

References: 50f8d51773
This commit is contained in:
Simon Ser 2022-07-08 22:04:20 +02:00
parent 972a5cdf7a
commit bd587a7f43
4 changed files with 8 additions and 36 deletions

View file

@ -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 {