The DSI host must be enabled for the panel to be initialized in prepare(). Set the prepare_prev_first flag to guarantee this.
Suggested-by: Hugo Villeneuve <[email protected]> Signed-off-by: Marc-Olivier Champagne <[email protected]> --- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7703.c b/drivers/gpu/drm/panel/panel-sitronix-st7703.c index 70f7282471e6..368c57591817 100644 --- a/drivers/gpu/drm/panel/panel-sitronix-st7703.c +++ b/drivers/gpu/drm/panel/panel-sitronix-st7703.c @@ -973,6 +973,8 @@ static int st7703_probe(struct mipi_dsi_device *dsi) if (ret < 0) return dev_err_probe(&dsi->dev, ret, "Failed to get orientation\n"); + ctx->panel.prepare_prev_first = true; + ret = drm_panel_of_backlight(&ctx->panel); if (ret) return ret; -- 2.34.1
