]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm: panel: Set connector type for LP120UP1
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Thu, 16 Apr 2020 16:44:03 +0000 (18:44 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 25 Apr 2020 14:43:04 +0000 (16:43 +0200)
The LP120UP1 is a eDP panel, set the connector type accordingly.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200416164404.2418426-1-enric.balletbo@collabora.com
drivers/gpu/drm/panel/panel-simple.c

index 17d22c5a0fc23fb8c410a8ffaf7780c3a94f3327..efbe2764688ddbd7d86c56952b7d74d31f289407 100644 (file)
@@ -2248,6 +2248,7 @@ static const struct panel_desc lg_lp120up1 = {
                .width = 267,
                .height = 183,
        },
+       .connector_type = DRM_MODE_CONNECTOR_eDP,
 };
 
 static const struct drm_display_mode lg_lp129qe_mode = {