mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 15:10:09 +01:00
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:
parent
4533451028
commit
30e283de70
1 changed files with 3 additions and 0 deletions
|
|
@ -4549,6 +4549,9 @@ static const char * const connector_type_names[] = {
|
||||||
[DRM_MODE_CONNECTOR_VIRTUAL] = "Virtual",
|
[DRM_MODE_CONNECTOR_VIRTUAL] = "Virtual",
|
||||||
[DRM_MODE_CONNECTOR_DSI] = "DSI",
|
[DRM_MODE_CONNECTOR_DSI] = "DSI",
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef DRM_MODE_CONNECTOR_DPI
|
||||||
|
[DRM_MODE_CONNECTOR_DPI] = "DPI",
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Create a name given a DRM connector
|
/** Create a name given a DRM connector
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue