[PATCH 7/7] drm/bridge: lt9211: Enable DSI burst mode for LT9211C

Philipp Zabel <[email protected]>
Newsgroups org.freedesktop.lists.dri-devel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
From: Oleksij Rempel <[email protected]>

Enable the MIPI_DSI_MODE_VIDEO_BURST flag to produce stable LVDS output
on RK3576. In non-burst mode, the bridge produces a horizontally
unstable image on this platform.

Tested with: AUO G185HAN01.0 dual-link LVDS panel via LT9211C bridge

Signed-off-by: Oleksij Rempel <[email protected]>
Signed-off-by: Philipp Zabel <[email protected]>
---
 drivers/gpu/drm/bridge/lontium-lt9211.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/bridge/lontium-lt9211.c b/drivers/gpu/drm/bridge/lontium-lt9211.c
index c82f7ee7134c..e34ee288e466 100644
--- a/drivers/gpu/drm/bridge/lontium-lt9211.c
+++ b/drivers/gpu/drm/bridge/lontium-lt9211.c
@@ -1399,7 +1399,8 @@ static int lt9211_host_attach(struct lt9211 *ctx)
 	dsi->format = MIPI_DSI_FMT_RGB888;
 
 	if (ctx->chip_type == LT9211C) {
-		dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_LPM;
+		dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
+			MIPI_DSI_MODE_LPM;
 	} else {
 		dsi->mode_flags =
 			MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
-- 
2.47.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.