From 556bedf2714dcb4e3c46f96e1610ab89c5b54994 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Sat, 6 Jan 2018 00:59:59 +0100 Subject: drm_hwcomposer: Update external connectors list DVID, DVII and VGA are required by discrete and integrated GPUs. Signed-off-by: Mauro Rossi --- drmconnector.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 { -- cgit v1.2.3