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>
dev
Stefan Agner 6 years ago
parent 4533451028
commit 30e283de70
  1. 3
      libweston/compositor-drm.c

@ -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

Loading…
Cancel
Save