From 092102ef5a2708178b2cc6ecada59ea95f41da8f Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Marchesin?= Date: Thu, 16 Aug 2012 18:06:55 -0700 Subject: [PATCH] drm/exynos: Name the connector properly. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit If the connector isn't recognized, it won't be named properly, and Chrome will not pick it up as a laptop LCD (and won't handle it as a laptop, including detecting the projection). Fix this by identifying our connector as eDP. BUG=none TEST=by hand, run xrandr on an exynos device, and check that the output TEST=is now named "eDP-1" not "None-1". Change-Id: Ief7f45818407dfa140540517e994bd0edc5479f9 Reviewed-on: https://gerrit.chromium.org/gerrit/30638 Commit-Ready: Stéphane Marchesin Reviewed-by: Stéphane Marchesin Tested-by: Stéphane Marchesin Reviewed-by: Benson Leung --- drivers/gpu/drm/exynos/exynos_drm_connector.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_connector.c b/drivers/gpu/drm/exynos/exynos_drm_connector.c index 732c65a244c4..55c050b88a1d 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_connector.c +++ b/drivers/gpu/drm/exynos/exynos_drm_connector.c @@ -322,6 +322,9 @@ struct drm_connector *exynos_drm_connector_create(struct drm_device *dev, type = DRM_MODE_CONNECTOR_VIRTUAL; connector->polled = DRM_CONNECTOR_POLL_HPD; break; + case EXYNOS_DISPLAY_TYPE_LCD: + type = DRM_MODE_CONNECTOR_eDP; + break; default: type = DRM_MODE_CONNECTOR_Unknown; break; -- 2.20.1