[PATCH libdrm 2/2] Add the DPI encoder/connector types to KMS utils.

Eric Anholt eric at anholt.net
Tue Apr 25 18:33:04 UTC 2017


Signed-off-by: Eric Anholt <eric at anholt.net>
---
 tests/util/kms.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/util/kms.c b/tests/util/kms.c
index c008f78a32e7..028cc8d956df 100644
--- a/tests/util/kms.c
+++ b/tests/util/kms.c
@@ -79,6 +79,7 @@ static const struct type_name encoder_type_names[] = {
 	{ DRM_MODE_ENCODER_VIRTUAL, "Virtual" },
 	{ DRM_MODE_ENCODER_DSI, "DSI" },
 	{ DRM_MODE_ENCODER_DPMST, "DPMST" },
+	{ DRM_MODE_ENCODER_DPI, "DPI" },
 };
 
 const char *util_lookup_encoder_type_name(unsigned int type)
@@ -117,6 +118,7 @@ static const struct type_name connector_type_names[] = {
 	{ DRM_MODE_CONNECTOR_eDP, "eDP" },
 	{ DRM_MODE_CONNECTOR_VIRTUAL, "Virtual" },
 	{ DRM_MODE_CONNECTOR_DSI, "DSI" },
+	{ DRM_MODE_CONNECTOR_DPI, "DPI" },
 };
 
 const char *util_lookup_connector_type_name(unsigned int type)
-- 
2.11.0



More information about the dri-devel mailing list