[PATCH 2/2] compositor-drm: Mark eDP connection as internal

Armin Krezović krezovic.armin at gmail.com
Wed Feb 8 12:55:26 UTC 2017


Signed-off-by: Armin Krezović <krezovic.armin at gmail.com>
---
 libweston/compositor-drm.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c
index 7f1eeda9..13cb5a89 100644
--- a/libweston/compositor-drm.c
+++ b/libweston/compositor-drm.c
@@ -2425,7 +2425,8 @@ drm_output_enable(struct weston_output *base)
 	output->base.subpixel = drm_subpixel_to_wayland(output->connector->subpixel);
 
 	find_and_parse_output_edid(b, output, output->connector);
-	if (output->connector->connector_type == DRM_MODE_CONNECTOR_LVDS)
+	if (output->connector->connector_type == DRM_MODE_CONNECTOR_LVDS ||
+	    output->connector->connector_type == DRM_MODE_CONNECTOR_eDP)
 		output->base.connection_internal = 1;
 
 	weston_plane_init(&output->cursor_plane, b->compositor,
-- 
2.11.1



More information about the wayland-devel mailing list