From 7a3f7b3c8a8769a6fbc41d3257060d269ccab4da Mon Sep 17 00:00:00 2001 From: emersion Date: Tue, 21 Aug 2018 13:05:38 +0100 Subject: [PATCH] backend/drm: add support for DRM_MODE_CONNECTOR_DPI --- backend/drm/util.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/drm/util.c b/backend/drm/util.c index baacbfa8..52972fdd 100644 --- a/backend/drm/util.c +++ b/backend/drm/util.c @@ -144,6 +144,9 @@ const char *conn_get_name(uint32_t type_id) { case DRM_MODE_CONNECTOR_eDP: return "eDP"; case DRM_MODE_CONNECTOR_VIRTUAL: return "Virtual"; case DRM_MODE_CONNECTOR_DSI: return "DSI"; +#ifdef DRM_MODE_CONNECTOR_DPI + case DRM_MODE_CONNECTOR_DPI: return "DPI"; +#endif default: return "Unknown"; } }