modetest: add connector names for missing kinds of connectors
PATCH 1/1 modetest: add connector names for missing kinds of connectors
Without the matched name for the connector types, modetest prints invalid for that kinds of connectors like below:
Connectors:
id encoder status type size (mm) modes encoders
16 15 connected (invalid) 71x125 1 15
So this patch adds connector names for missing kinds of connector types.
Signed-off-by Hyungwon Hwang <[email protected]>
--- tests/modetest/modetest.c | 2 ++ 1 file changed, 2 insertions(+)
tests/modetest/modetest.c +2 -0
@@ -168,6 +168,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)
Signature · 6 lines
1.9.1 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel