dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Rossi <issor.oruam@gmail.com>
To: dri-devel@lists.freedesktop.org
Cc: robert.foss@collabora.com, jim.bish@intel.com
Subject: [drm_hwcomposer] [PATCH] Update external connectors list
Date: Sat,  6 Jan 2018 00:59:59 +0100	[thread overview]
Message-ID: <20180105235959.1037-2-issor.oruam@gmail.com> (raw)
In-Reply-To: <20180105235959.1037-1-issor.oruam@gmail.com>

DVID, DVII and VGA are required by discrete and integrated GPUs
---
 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 {
-- 
2.14.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2018-01-06  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-05 23:59 [drm_hwcomposer] [PATCH] Take Connection state into account. (v2) Mauro Rossi
2018-01-05 23:59 ` Mauro Rossi [this message]
2018-01-08 13:45   ` [drm_hwcomposer] [PATCH] Update external connectors list Robert Foss
2018-01-08 13:41 ` [drm_hwcomposer] [PATCH] Take Connection state into account. (v2) Robert Foss
2018-01-08 20:41 ` Sean Paul
2018-01-08 20:46   ` Sean Paul
2018-02-01  4:42     ` Mauro Rossi
2018-02-01 14:27       ` Sean Paul
2018-02-02  8:42     ` Daniel Vetter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180105235959.1037-2-issor.oruam@gmail.com \
    --to=issor.oruam@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jim.bish@intel.com \
    --cc=robert.foss@collabora.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox