Otherwise xrandr shows the name as "Unknown16-1" instead of DSI-1 for example on droid4.
These defines need to match with kernel DRM_MODE_CONNECTOR related defines in drm_mode.h, so let's add the missing ones for Virtual, DSI, and DPI. Cc: Ivaylo Dimitrov <ivo.g.dimitrov...@gmail.com> Cc: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Cc: Matthijs van Duin <matthijsvand...@gmail.com> Cc: Merlijn Wajer <merl...@wizzup.org> Cc: Rob Clark <robdcl...@chromium.org> Cc: Sebastian Reichel <s...@kernel.org> Cc: Tomi Valkeinen <tomi.valkei...@ti.com> Signed-off-by: Tony Lindgren <t...@atomide.com> --- src/drmmode_display.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/drmmode_display.c b/src/drmmode_display.c --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -1043,6 +1043,9 @@ const char *output_names[] = { "None", "HDMI", "TV", "eDP", + "Virtual", + "DSI", + "DPI", }; #define NUM_OUTPUT_NAMES (sizeof(output_names) / sizeof(output_names[0])) -- 2.25.0 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel