summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2016-01-12 15:41:53 -0600
committerTomeu Vizoso <tomeu.vizoso@collabora.com>2017-04-05 11:42:59 +0200
commit16cb9f68eb3b947fd7b7f2e607c7b8a56f3f8049 (patch)
treed00ad6a1b31c1d7d75721be4501c0fe542cd58b2
parent6548a3f083057938c188df8d483451e990e84ee1 (diff)
downloaddrm_hwcomposer-16cb9f68eb3b947fd7b7f2e607c7b8a56f3f8049.tar.gz
drm_hwcomposer-16cb9f68eb3b947fd7b7f2e607c7b8a56f3f8049.tar.xz
HACK: Add HDMI connector as built-in
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 a71683f..ae17c3f 100644
--- a/drmconnector.cpp
+++ b/drmconnector.cpp
@@ -69,7 +69,8 @@ void DrmConnector::set_display(int display) {
bool DrmConnector::internal() 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;
}
bool DrmConnector::external() const {