Merge pull request #1191 from emersion/drm-conn-dpi

backend/drm: add support for DRM_MODE_CONNECTOR_DPI
This commit is contained in:
Drew DeVault 2018-08-21 08:16:02 -04:00 committed by GitHub
commit d7c027d3e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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";
} }
} }