summaryrefslogtreecommitdiff
path: root/tests/modetest
diff options
context:
space:
mode:
authorRob Clark <robclark@freedesktop.org>2015-04-15 09:35:00 -0400
committerRob Clark <robclark@freedesktop.org>2015-04-15 09:35:00 -0400
commit0d78b37b1cac304ce5e84d1207f0a43abd29c000 (patch)
treef40258ed028f78e4df2d77fad94c2bd299879d22 /tests/modetest
parent32258e4dbd32466b4286ab2ad7883b7cb90c105f (diff)
modeprint: add missing encoder/connector type names
Signed-off-by: Rob Clark <robclark@freedesktop.org>
Diffstat (limited to 'tests/modetest')
-rw-r--r--tests/modetest/modetest.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c
index 5f46efd6..53dfe05b 100644
--- a/tests/modetest/modetest.c
+++ b/tests/modetest/modetest.c
@@ -140,6 +140,9 @@ struct type_name encoder_type_names[] = {
{ DRM_MODE_ENCODER_TMDS, "TMDS" },
{ DRM_MODE_ENCODER_LVDS, "LVDS" },
{ DRM_MODE_ENCODER_TVDAC, "TVDAC" },
+ { DRM_MODE_ENCODER_VIRTUAL, "Virtual" },
+ { DRM_MODE_ENCODER_DSI, "DSI" },
+ { DRM_MODE_ENCODER_DPMST, "DPMST" },
};
static type_name_fn(encoder_type)
@@ -168,6 +171,8 @@ struct type_name connector_type_names[] = {
{ DRM_MODE_CONNECTOR_HDMIB, "HDMI-B" },
{ DRM_MODE_CONNECTOR_TV, "TV" },
{ DRM_MODE_CONNECTOR_eDP, "eDP" },
+ { DRM_MODE_CONNECTOR_VIRTUAL, "Virtual" },
+ { DRM_MODE_CONNECTOR_DSI, "DSI" },
};
static type_name_fn(connector_type)