]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/panel: sony-td4353-jdi: Enable prepare_prev_first
authorMarijn Suijten <marijn.suijten@somainline.org>
Sun, 30 Nov 2025 22:40:05 +0000 (23:40 +0100)
committerDouglas Anderson <dianders@chromium.org>
Mon, 15 Dec 2025 16:14:20 +0000 (08:14 -0800)
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
drivers/gpu/drm/panel/panel-sony-td4353-jdi.c

index 7c989b70ab513084d28379f347c9851a350e433e..a14c86c60d19d70634e548e9f21a4e8ee734969c 100644 (file)
@@ -212,6 +212,8 @@ static int sony_td4353_jdi_probe(struct mipi_dsi_device *dsi)
        if (ret)
                return dev_err_probe(dev, ret, "Failed to get backlight\n");
 
+       ctx->panel.prepare_prev_first = true;
+
        drm_panel_add(&ctx->panel);
 
        ret = mipi_dsi_attach(dsi);