From: Stephan Gerhold <[email protected]>

This is needed to be able to send DSI commands when DRM_PANEL_BRIDGE is
used, because otherwise the DSI host is powered up after the panel
pre_enable() hook is called.

Signed-off-by: Stephan Gerhold <[email protected]>
Signed-off-by: Vladimir Bely <[email protected]>
---
 drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams452ef01.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams452ef01.c 
b/drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams452ef01.c
index 2178e03e4..a4063a5af 100644
--- a/drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams452ef01.c
+++ b/drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams452ef01.c
@@ -195,6 +195,7 @@ static int s6e88a0_ams452ef01_probe(struct mipi_dsi_device 
*dsi)
        dsi->lanes = 2;
        dsi->format = MIPI_DSI_FMT_RGB888;
        dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST;
+       ctx->panel.prepare_prev_first = true;
 
        ret = devm_drm_panel_add(dev, &ctx->panel);
        if (ret)
-- 
2.43.0

Reply via email to