summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2020-02-04 10:34:00 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-08-21 12:35:51 -0700
commitd5b4c509a97104b920f72e748d224b3e4f9a0e0e (patch)
tree6e227d83767eaa20f255c47c929a30837fe82516
parentf5928392e174341264df9da275ff5b3e35e14730 (diff)
omap: Add proper names for DSI, DPI and Virtual connectors
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. Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--src/drmmode_display.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index e9c0eac..b700550 100644
--- 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]))