diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2017-04-27 13:01:12 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2017-04-27 13:08:38 +0300 |
commit | 201356009cda2c62e13c4129826f7541d3a8ed6f (patch) | |
tree | beb3ca41ba54013c5d2d730edbd9021af98263bf | |
parent | 494e0dbd4e84da686bc958e421af0c6fbcee85f2 (diff) |
connector: add DPI connector type
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r-- | kms++/src/connector.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kms++/src/connector.cpp b/kms++/src/connector.cpp index 48c5815..9141431 100644 --- a/kms++/src/connector.cpp +++ b/kms++/src/connector.cpp @@ -13,6 +13,9 @@ using namespace std; namespace kms { +#ifndef DRM_MODE_CONNECTOR_DPI +#define DRM_MODE_CONNECTOR_DPI 17 +#endif static const map<int, string> connector_names = { { DRM_MODE_CONNECTOR_Unknown, "Unknown" }, @@ -32,6 +35,7 @@ static const map<int, string> connector_names = { { DRM_MODE_CONNECTOR_eDP, "eDP" }, { DRM_MODE_CONNECTOR_VIRTUAL, "Virtual" }, { DRM_MODE_CONNECTOR_DSI, "DSI" }, + { DRM_MODE_CONNECTOR_DPI, "DPI" }, }; static const map<int, string> connection_str = { |