compositor-drm: add DPI connector type
Linux v4.7 introduced a new connector type for display parallel interface (DPI). Add DPI to the list of connectors in the DRM backend of Weston as well. This avoid DPI connectors showing up as UNNAMED. Signed-off-by: Stefan Agner <stefan@agner.ch>
This commit is contained in:
@@ -4549,6 +4549,9 @@ static const char * const connector_type_names[] = {
|
||||
[DRM_MODE_CONNECTOR_VIRTUAL] = "Virtual",
|
||||
[DRM_MODE_CONNECTOR_DSI] = "DSI",
|
||||
#endif
|
||||
#ifdef DRM_MODE_CONNECTOR_DPI
|
||||
[DRM_MODE_CONNECTOR_DPI] = "DPI",
|
||||
#endif
|
||||
};
|
||||
|
||||
/** Create a name given a DRM connector
|
||||
|
||||
Reference in New Issue
Block a user