summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2016-01-12 15:41:53 -0600
committerRobert Foss <robert.foss@collabora.com>2016-09-16 11:37:29 -0400
commitf82458493ddf83f3bc753d47ae8482e5d84a0de1 (patch)
tree5242f81ec8de891a9b56a760e4d7ba3ceaa155ac
parent47c474197e260a35a7b6fff781076508cbe36062 (diff)
downloaddrm_hwcomposer-seanpaul_hwc2.tar.gz
drm_hwcomposer-seanpaul_hwc2.tar.xz
HACK: Add HDMI connector as built-inseanpaul_hwc2
Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r--drmconnector.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/drmconnector.cpp b/drmconnector.cpp
index ccb38e2..42ee67b 100644
--- a/drmconnector.cpp
+++ b/drmconnector.cpp
@@ -69,7 +69,8 @@ void DrmConnector::set_display(int display) {
bool DrmConnector::built_in() const {
return type_ == DRM_MODE_CONNECTOR_LVDS || type_ == DRM_MODE_CONNECTOR_eDP ||
- type_ == DRM_MODE_CONNECTOR_DSI || type_ == DRM_MODE_CONNECTOR_VIRTUAL;
+ type_ == DRM_MODE_CONNECTOR_DSI || type_ == DRM_MODE_CONNECTOR_VIRTUAL ||
+ type_ == DRM_MODE_CONNECTOR_HDMIA;
}
int DrmConnector::UpdateModes() {