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 <[email protected]>
---
 drivers/gpu/drm/panel/panel-sony-td4353-jdi.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-sony-td4353-jdi.c 
b/drivers/gpu/drm/panel/panel-sony-td4353-jdi.c
index 7c989b70ab51..a14c86c60d19 100644
--- a/drivers/gpu/drm/panel/panel-sony-td4353-jdi.c
+++ b/drivers/gpu/drm/panel/panel-sony-td4353-jdi.c
@@ -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);

---
base-commit: 7d31f578f3230f3b7b33b0930b08f9afd8429817
change-id: 20251130-sony-akari-fix-panel-3f0308e3b1ac

Best regards,
-- 
Marijn Suijten <[email protected]>

Reply via email to