backend/drm: add support for DRM_MODE_CONNECTOR_DPI

This commit is contained in:
emersion 2018-08-21 13:05:38 +01:00
parent 24212df830
commit 7a3f7b3c8a
1 changed files with 3 additions and 0 deletions

View File

@ -144,6 +144,9 @@ const char *conn_get_name(uint32_t type_id) {
case DRM_MODE_CONNECTOR_eDP: return "eDP"; case DRM_MODE_CONNECTOR_eDP: return "eDP";
case DRM_MODE_CONNECTOR_VIRTUAL: return "Virtual"; case DRM_MODE_CONNECTOR_VIRTUAL: return "Virtual";
case DRM_MODE_CONNECTOR_DSI: return "DSI"; case DRM_MODE_CONNECTOR_DSI: return "DSI";
#ifdef DRM_MODE_CONNECTOR_DPI
case DRM_MODE_CONNECTOR_DPI: return "DPI";
#endif
default: return "Unknown"; default: return "Unknown";
} }
} }