From: Casey Connolly Date: Wed, 19 Nov 2025 14:21:32 +0000 (+0100) Subject: drm/panel: sofef00: Add prepare_prev_first flag to drm_panel X-Git-Tag: v6.19-rc1~157^2~1^2~88 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1e534a56578bbea59165c3507d2b967f29771792;p=thirdparty%2Flinux.git 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 Signed-off-by: David Heidelberg Reviewed-by: Neil Armstrong Signed-off-by: Neil Armstrong Link: https://patch.msgid.link/20251119-sofef00-rebuild-v3-7-6cd55471e84e@ixit.cz --- diff --git a/drivers/gpu/drm/panel/panel-samsung-sofef00.c b/drivers/gpu/drm/panel/panel-samsung-sofef00.c index 97122ec8872a1..0d3ae0689a19b 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),