Message ID | 20240202-visionox-r66451-prev-first-v1-1-c267dc889284@quicinc.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm/panel: visionox-r66451: Set prepare_prev_first flag | expand |
On 02/02/2024 22:50, Jessica Zhang wrote: > The DSI host needs to be enabled for the panel to be initialized in > prepare(). Ensure this happens by setting prepare_prev_first. > > Signed-off-by: Jessica Zhang <quic_jesszhan@quicinc.com> > --- > drivers/gpu/drm/panel/panel-visionox-r66451.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/panel/panel-visionox-r66451.c b/drivers/gpu/drm/panel/panel-visionox-r66451.c > index fbb73464de332..493f2a6076f8d 100644 > --- a/drivers/gpu/drm/panel/panel-visionox-r66451.c > +++ b/drivers/gpu/drm/panel/panel-visionox-r66451.c > @@ -322,6 +322,7 @@ static int visionox_r66451_probe(struct mipi_dsi_device *dsi) > dsi->lanes = 4; > dsi->format = MIPI_DSI_FMT_RGB888; > dsi->mode_flags = MIPI_DSI_MODE_LPM | MIPI_DSI_CLOCK_NON_CONTINUOUS; > + ctx->panel.prepare_prev_first = true; > > drm_panel_init(&ctx->panel, dev, &visionox_r66451_funcs, DRM_MODE_CONNECTOR_DSI); > ctx->panel.backlight = visionox_r66451_create_backlight(dsi); > > --- > base-commit: 51b70ff55ed88edd19b080a524063446bcc34b62 > change-id: 20230717-visionox-r66451-prev-first-67b036160e32 > > Best regards, Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Hi, On Fri, 02 Feb 2024 13:50:21 -0800, Jessica Zhang wrote: > The DSI host needs to be enabled for the panel to be initialized in > prepare(). Ensure this happens by setting prepare_prev_first. > > Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next) [1/1] drm/panel: visionox-r66451: Set prepare_prev_first flag https://cgit.freedesktop.org/drm/drm-misc/commit/?id=bb3bc3eac316b7c388733e625cc2343131b69dee
diff --git a/drivers/gpu/drm/panel/panel-visionox-r66451.c b/drivers/gpu/drm/panel/panel-visionox-r66451.c index fbb73464de332..493f2a6076f8d 100644 --- a/drivers/gpu/drm/panel/panel-visionox-r66451.c +++ b/drivers/gpu/drm/panel/panel-visionox-r66451.c @@ -322,6 +322,7 @@ static int visionox_r66451_probe(struct mipi_dsi_device *dsi) dsi->lanes = 4; dsi->format = MIPI_DSI_FMT_RGB888; dsi->mode_flags = MIPI_DSI_MODE_LPM | MIPI_DSI_CLOCK_NON_CONTINUOUS; + ctx->panel.prepare_prev_first = true; drm_panel_init(&ctx->panel, dev, &visionox_r66451_funcs, DRM_MODE_CONNECTOR_DSI); ctx->panel.backlight = visionox_r66451_create_backlight(dsi);
The DSI host needs to be enabled for the panel to be initialized in prepare(). Ensure this happens by setting prepare_prev_first. Signed-off-by: Jessica Zhang <quic_jesszhan@quicinc.com> --- drivers/gpu/drm/panel/panel-visionox-r66451.c | 1 + 1 file changed, 1 insertion(+) --- base-commit: 51b70ff55ed88edd19b080a524063446bcc34b62 change-id: 20230717-visionox-r66451-prev-first-67b036160e32 Best regards,