Skip to content

Commit

Permalink
drm/panel: jdi-fhd-r63452: make use of prepare_prev_first
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Barnabás Czémán authored and Neil Armstrong committed Apr 24, 2024
1 parent 14b3cdb commit 4edd73d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/panel/panel-jdi-fhd-r63452.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ static int jdi_fhd_r63452_probe(struct mipi_dsi_device *dsi)

drm_panel_init(&ctx->panel, dev, &jdi_fhd_r63452_panel_funcs,
DRM_MODE_CONNECTOR_DSI);
ctx->panel.prepare_prev_first = true;

ret = drm_panel_of_backlight(&ctx->panel);
if (ret)
Expand Down

0 comments on commit 4edd73d

Please sign in to comment.