[PATCH 3/5] drm/panel: s6e88a0-ams452ef01: set prepare_prev_first

From: Vladimir Bely

Date: Sun Nov 29 2026 - 08:00:47 EST


From: Stephan Gerhold <stephan@xxxxxxxxxxx>

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 <stephan@xxxxxxxxxxx>
Signed-off-by: Vladimir Bely <vlwwwwww@xxxxxxxxx>
---
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