[PATCH] drm/panel: sony-td4353-jdi: Enable prepare_prev_first

Marijn Suijten posted 1 patch 22 hours ago
drivers/gpu/drm/panel/panel-sony-td4353-jdi.c | 2 ++
1 file changed, 2 insertions(+)
[PATCH] drm/panel: sony-td4353-jdi: Enable prepare_prev_first
Posted by Marijn Suijten 22 hours ago
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>
---
 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 <marijn.suijten@somainline.org>
Re: [PATCH] drm/panel: sony-td4353-jdi: Enable prepare_prev_first
Posted by Doug Anderson 3 hours ago
Hi,

On Sun, Nov 30, 2025 at 2:40 PM Marijn Suijten
<marijn.suijten@somainline.org> wrote:
>
> 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>
> ---
>  drivers/gpu/drm/panel/panel-sony-td4353-jdi.c | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Douglas Anderson <dianders@chromium.org>