linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/panel-simple: fix connector type for LogicPD Type28 Display
@ 2020-06-15 13:19 Adam Ford
  2020-06-15 14:45 ` Fabio Estevam
  0 siblings, 1 reply; 5+ messages in thread
From: Adam Ford @ 2020-06-15 13:19 UTC (permalink / raw)
  To: dri-devel
  Cc: aford, Adam Ford, stable, Thierry Reding, Sam Ravnborg,
	David Airlie, Daniel Vetter, linux-kernel

The LogicPD Type28 display used by several Logic PD products has not
worked since v5.5.

The connector type for the LogicPD Type 28 display is missing and
drm_panel_bridge_add() requires connector type to be set.

Signed-off-by: Adam Ford <aford173@gmail.com>
CC: stable@vger.kernel.org #v5.5+

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index b6ecd1552132..334e9de5b2c8 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -2495,6 +2495,7 @@ static const struct panel_desc logicpd_type_28 = {
 	.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
 	.bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE |
 		     DRM_BUS_FLAG_SYNC_DRIVE_NEGEDGE,
+	.connector_type = DRM_MODE_CONNECTOR_DPI,
 };
 
 static const struct panel_desc mitsubishi_aa070mc01 = {
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-06-21  6:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-15 13:19 [PATCH] drm/panel-simple: fix connector type for LogicPD Type28 Display Adam Ford
2020-06-15 14:45 ` Fabio Estevam
2020-06-15 14:53   ` Adam Ford
2020-06-16 12:30     ` Tomi Valkeinen
2020-06-21  6:22     ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).