]> xenbits.xensource.com Git - people/pauldu/linux.git/commitdiff
drm/bridge: tc358762: Instruct DSI host to generate HSE packets
authorMarek Vasut <marex@denx.de>
Thu, 15 Jun 2023 20:19:00 +0000 (22:19 +0200)
committerRobert Foss <rfoss@kernel.org>
Thu, 22 Jun 2023 09:13:29 +0000 (11:13 +0200)
This bridge seems to need the HSE packet, otherwise the image is
shifted up and corrupted at the bottom. This makes the bridge
work with Samsung DSIM on i.MX8MM and i.MX8MP.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230615201902.566182-3-marex@denx.de
drivers/gpu/drm/bridge/tc358762.c

index 5e00c08b99540c4e374667c1b743a1bcf9519dce..77f2ec9de9e59a83ca8dd5981be63864e1964102 100644 (file)
@@ -241,7 +241,7 @@ static int tc358762_probe(struct mipi_dsi_device *dsi)
        dsi->lanes = 1;
        dsi->format = MIPI_DSI_FMT_RGB888;
        dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
-                         MIPI_DSI_MODE_LPM;
+                         MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_VIDEO_HSE;
 
        ret = tc358762_parse_dt(ctx);
        if (ret < 0)