aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-08-21 08:16:02 -0400
committerGitHub <noreply@github.com>2018-08-21 08:16:02 -0400
commitd7c027d3e3d6b96c21bfd379a0e8542e77607e69 (patch)
tree4ad5fd6ce9905138271e427b0b91c08a1c849556 /backend/drm
parent24212df830e2848582121746fd0284bd2d7da67a (diff)
parent7a3f7b3c8a8769a6fbc41d3257060d269ccab4da (diff)
Merge pull request #1191 from emersion/drm-conn-dpi
backend/drm: add support for DRM_MODE_CONNECTOR_DPI
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/util.c3
1 files changed, 3 insertions, 0 deletions
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";
}
}