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 <[email protected]> Cc: Laurent Pinchart <[email protected]> Cc: Matthijs van Duin <[email protected]> Cc: Merlijn Wajer <[email protected]> Cc: Rob Clark <[email protected]> Cc: Sebastian Reichel <[email protected]> Cc: Tomi Valkeinen <[email protected]> Signed-off-by: Tony Lindgren <[email protected]> --- 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 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
