summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasey Connolly <casey.connolly@linaro.org>2025-11-19 15:21:32 +0100
committerNeil Armstrong <neil.armstrong@linaro.org>2025-11-19 17:13:38 +0100
commit1e534a56578bbea59165c3507d2b967f29771792 (patch)
treef22ec2042eaf3a3633dafb746cf0efd77ac94996
parent9f1ba273f55f93759cfd1098e0682b03eb115bb4 (diff)
drm/panel: sofef00: Add prepare_prev_first flag to drm_panel
This corrects the host initialisation sequence so that we can send DSI/DCS commands in prepare(). Signed-off-by: Casey Connolly <casey.connolly@linaro.org> Signed-off-by: David Heidelberg <david@ixit.cz> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patch.msgid.link/20251119-sofef00-rebuild-v3-7-6cd55471e84e@ixit.cz
-rw-r--r--drivers/gpu/drm/panel/panel-samsung-sofef00.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-samsung-sofef00.c b/drivers/gpu/drm/panel/panel-samsung-sofef00.c
index 97122ec8872a..0d3ae0689a19 100644
--- a/drivers/gpu/drm/panel/panel-samsung-sofef00.c
+++ b/drivers/gpu/drm/panel/panel-samsung-sofef00.c
@@ -242,6 +242,8 @@ static int sofef00_panel_probe(struct mipi_dsi_device *dsi)
dsi->lanes = 4;
dsi->format = MIPI_DSI_FMT_RGB888;
+ ctx->panel.prepare_prev_first = true;
+
ctx->panel.backlight = sofef00_create_backlight(dsi);
if (IS_ERR(ctx->panel.backlight))
return dev_err_probe(dev, PTR_ERR(ctx->panel.backlight),