summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Rossi <issor.oruam@gmail.com>2018-01-06 00:59:59 +0100
committerRobert Foss <robert.foss@collabora.com>2018-01-09 16:05:22 +0100
commit556bedf2714dcb4e3c46f96e1610ab89c5b54994 (patch)
tree10eb6c173fd615ed95e7f86d4dee46b89a7a126e
parent1b2685c848dc1249917c610a908ec8e88c30b360 (diff)
drm_hwcomposer: Update external connectors list
DVID, DVII and VGA are required by discrete and integrated GPUs. Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
-rw-r--r--drmconnector.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/drmconnector.cpp b/drmconnector.cpp
index 247f56b..145518f 100644
--- a/drmconnector.cpp
+++ b/drmconnector.cpp
@@ -73,7 +73,9 @@ bool DrmConnector::internal() const {
}
bool DrmConnector::external() const {
- return type_ == DRM_MODE_CONNECTOR_HDMIA;
+ return type_ == DRM_MODE_CONNECTOR_HDMIA || type_ == DRM_MODE_CONNECTOR_DisplayPort ||
+ type_ == DRM_MODE_CONNECTOR_DVID || type_ == DRM_MODE_CONNECTOR_DVII ||
+ type_ == DRM_MODE_CONNECTOR_VGA;
}
bool DrmConnector::valid_type() const {