Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/panel: visionox-r66451: Set prepare_prev_first flag

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>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240202-visionox-r66451-prev-first-v1-1-c267dc889284@quicinc.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240202-visionox-r66451-prev-first-v1-1-c267dc889284@quicinc.com

authored by

Jessica Zhang and committed by
Neil Armstrong
bb3bc3ea 311d0fad

+1
+1
drivers/gpu/drm/panel/panel-visionox-r66451.c
··· 322 322 dsi->lanes = 4; 323 323 dsi->format = MIPI_DSI_FMT_RGB888; 324 324 dsi->mode_flags = MIPI_DSI_MODE_LPM | MIPI_DSI_CLOCK_NON_CONTINUOUS; 325 + ctx->panel.prepare_prev_first = true; 325 326 326 327 drm_panel_init(&ctx->panel, dev, &visionox_r66451_funcs, DRM_MODE_CONNECTOR_DSI); 327 328 ctx->panel.backlight = visionox_r66451_create_backlight(dsi);