Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/panel: sony-td4353-jdi: Enable prepare_prev_first

The DSI host must be enabled before our prepare function can run, which
has to send its init sequence over DSI. Without enabling the host first
the panel will not probe.

Fixes: 9e15123eca79 ("drm/msm/dsi: Stop unconditionally powering up DSI hosts at modeset")
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Martin Botka <martin.botka@somainline.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patch.msgid.link/20251130-sony-akari-fix-panel-v1-1-1d27c60a55f5@somainline.org

authored by

Marijn Suijten and committed by
Douglas Anderson
2b973ca4 84318277

+2
+2
drivers/gpu/drm/panel/panel-sony-td4353-jdi.c
··· 212 212 if (ret) 213 213 return dev_err_probe(dev, ret, "Failed to get backlight\n"); 214 214 215 + ctx->panel.prepare_prev_first = true; 216 + 215 217 drm_panel_add(&ctx->panel); 216 218 217 219 ret = mipi_dsi_attach(dsi);