Skip to content

Commit 4edd73d

Browse files
barni2000superna9999
authored andcommitted
drm/panel: jdi-fhd-r63452: make use of prepare_prev_first
The DSI host must be enabled for the panel to be initialized in prepare(). Set the prepare_prev_first flag to guarantee this. Signed-off-by: Barnabás Czémán <trabarni@gmail.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20240423-jdi-fix-v1-1-808970662b40@gmail.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20240423-jdi-fix-v1-1-808970662b40@gmail.com
1 parent 14b3cdb commit 4edd73d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/gpu/drm/panel/panel-jdi-fhd-r63452.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ static int jdi_fhd_r63452_probe(struct mipi_dsi_device *dsi)
247247

248248
drm_panel_init(&ctx->panel, dev, &jdi_fhd_r63452_panel_funcs,
249249
DRM_MODE_CONNECTOR_DSI);
250+
ctx->panel.prepare_prev_first = true;
250251

251252
ret = drm_panel_of_backlight(&ctx->panel);
252253
if (ret)

0 commit comments

Comments
 (0)