* [PATCH] drm/panel: enable prepare_prev_first for BOE tv101wum
@ 2023-12-29 19:57 Daniel Fuchs
0 siblings, 0 replies; only message in thread
From: Daniel Fuchs @ 2023-12-29 19:57 UTC (permalink / raw)
To: dri-devel
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@somainline.org>
Signed-off-by: Daniel Fuchs <software@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);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-29 20:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-29 19:57 [PATCH] drm/panel: enable prepare_prev_first for BOE tv101wum Daniel Fuchs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).