Skip to contentSkip to conversation

drm/panel: sharp-ls043t1le01: make use of prepare_prev_first

PATCH Applied Dmitry Baryshkov 3 participants 3 messages Mar 23 – Mar 26

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/panel: sharp-ls043t1le01: make use of prepare_prev_first

The DSI link must be powered up to let panel driver to talk to the panel during prepare() callback execution. Set the prepare_prev_first flag to guarantee this.

Fixes 9e15123eca79 ("drm/msm/dsi: Stop unconditionally powering up DSI hosts at modeset")
---
 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c +1 -0
index 36abfa2e65e9..dd1eaba23ad3 100644
@@ -201,6 +201,7 @@ static int sharp_nt_panel_add(struct sharp_nt_panel *sharp_nt)
 
 	drm_panel_init(&sharp_nt->base, &sharp_nt->dsi->dev,
 		       &sharp_nt_panel_funcs, DRM_MODE_CONNECTOR_DSI);
+	sharp_nt->base.prepare_prev_first = true;
 
 	ret = drm_panel_of_backlight(&sharp_nt->base);
 	if (ret)

---
base-commit: 8e5a478b6d6a5bb0a3d52147862b15e4d826af19
change-id: 20260323-panel-fix-4e794508de92

Best regards,

Signature · 2 lines
With best wishes
Dmitry
Reviewed-by on v1 1/1
#1 lore raw

Hi,

Quoted 10 lines · Dmitry Baryshkov

The DSI link must be powered up to let panel driver to talk to the panel during prepare() callback execution. Set the prepare_prev_first flag to guarantee this.

Fixes 9e15123eca79 ("drm/msm/dsi: Stop unconditionally powering up DSI hosts at modeset")
---
 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c | 1 +
 1 file changed, 1 insertion(+)
maintainer Applied
#2 lore raw
In reply to Dmitry Baryshkov

Hi,

Quoted 5 lines · Dmitry Baryshkov

The DSI link must be powered up to let panel driver to talk to the panel during prepare() callback execution. Set the prepare_prev_first flag to guarantee this.

Thanks, Applied to https://gitlab.freedesktop.org/drm/misc/kernel.git (drm-misc-next)

[1/1] drm/panel: sharp-ls043t1le01: make use of prepare_prev_first

      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/c222177d7c7e1b2e0433d9e47ec2da7015345d50
Signature · 1 line
Neil