[PATCH] drm/panel: enable prepare_prev_first for BOE tv101wum
Daniel Fuchs
software at sagacioussuricata.com
Fri Dec 29 19:57:31 UTC 2023
After commit 9e15123eca79 ("drm/msm/dsi: Stop unconditionally
powering up DSI hosts at modeset"), the host DSI bridge can no
longer be assumed to be available. Enable prepare_prev_first for
the panel to ensure the DSI bridge is ready before panel init.
Fixes display on the IdeaPad Duet 3 (wormdingler).
Suggested-by: Marijn Suijten <marijn.suijten at somainline.org>
Signed-off-by: Daniel Fuchs <software at sagacioussuricata.com>
diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c
index c4c0f08e9202..82f4313adbc4 100644
--- a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c
+++ b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c
@@ -1873,6 +1873,7 @@ static int boe_panel_add(struct boe_panel *boe)
drm_panel_init(&boe->base, dev, &boe_panel_funcs,
DRM_MODE_CONNECTOR_DSI);
+ boe->base.prepare_prev_first = true;
err = of_drm_get_panel_orientation(dev->of_node, &boe->orientation);
if (err < 0) {
dev_err(dev, "%pOF: failed to get orientation %d\n", dev->of_node, err);
More information about the dri-devel
mailing list