Created
July 20, 2021 19:40
-
-
Save notro/1379ba97e1cbdea847d02688b75d2805 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From bcea026824853572ef100dafb23ac2a3b6bd9fc8 Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org> | |
Date: Mon, 19 Jul 2021 18:23:14 +0200 | |
Subject: [PATCH 5/5] connector: Add new DRM connector types | |
MIME-Version: 1.0 | |
Content-Type: text/plain; charset=UTF-8 | |
Content-Transfer-Encoding: 8bit | |
Signed-off-by: Noralf Trønnes <noralf@tronnes.org> | |
--- | |
kms++/src/connector.cpp | 3 +++ | |
1 file changed, 3 insertions(+) | |
diff --git a/kms++/src/connector.cpp b/kms++/src/connector.cpp | |
index 92bab80..8b89d4d 100644 | |
--- a/kms++/src/connector.cpp | |
+++ b/kms++/src/connector.cpp | |
@@ -35,6 +35,9 @@ static const map<int, string> connector_names = { | |
{ DRM_MODE_CONNECTOR_VIRTUAL, "Virtual" }, | |
{ DRM_MODE_CONNECTOR_DSI, "DSI" }, | |
{ DRM_MODE_CONNECTOR_DPI, "DPI" }, | |
+ { DRM_MODE_CONNECTOR_WRITEBACK, "Writeback" }, | |
+ { DRM_MODE_CONNECTOR_SPI, "SPI" }, | |
+ { /*DRM_MODE_CONNECTOR_USB*/ 20, "USB" }, | |
}; | |
static const map<int, string> connection_str = { | |
-- | |
2.23.0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment