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 authored and pelwell committed Nov 27, 2023
1 parent 8942413 commit 5049f66
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 @@ -429,6 +429,7 @@ static int jdi_panel_add(struct jdi_panel *jdi)
return dev_err_probe(dev, PTR_ERR(jdi->backlight),
"failed to register backlight %d\n", ret);

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

Expand Down

0 comments on commit 5049f66

Please sign in to comment.