Skip to content

Commit

Permalink
drm: panel: jdi-lt070me05000: Add prepare_upstream_first flag
Browse files Browse the repository at this point in the history
The panel driver wants to send DCS commands from the prepare
hook, therefore the DSI host wants to be pre_enabled first.
Set the flag to achieve this.

https://forums.raspberrypi.com/viewtopic.php?t=354708

Signed-off-by: Dave Stevenson <[email protected]>
  • Loading branch information
6by9 committed Aug 9, 2023
1 parent ac7c015 commit 9398024
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/panel/panel-jdi-lt070me05000.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ static int jdi_panel_add(struct jdi_panel *jdi)
return ret;
}

jdi->base.prepare_upstream_first = true;
drm_panel_init(&jdi->base, &jdi->dsi->dev, &jdi_panel_funcs,
DRM_MODE_CONNECTOR_DSI);

Expand Down

0 comments on commit 9398024

Please sign in to comment.