[PATCH 3/3] omap: Add proper names for DSI, DPI and Virtual connectors

Tony Lindgren tony at atomide.com
Tue Feb 4 18:34:00 UTC 2020


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.75 at gmail.com>
Cc: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Cc: Matthijs van Duin <matthijsvanduin at gmail.com>
Cc: Merlijn Wajer <merlijn at wizzup.org>
Cc: Rob Clark <robdclark at chromium.org>
Cc: Sebastian Reichel <sre at kernel.org>
Cc: Tomi Valkeinen <tomi.valkeinen at ti.com>
Signed-off-by: Tony Lindgren <tony at 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


More information about the xorg-devel mailing list