[PATCH] drm/panel: enable prepare_prev_first for BOE tv101wum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
Signed-off-by: Daniel Fuchs <software@xxxxxxxxxxxxxxxxxxxxx>

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);



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux