drm/panel: kd35t133: allow using non-continuous dsi clock
Subsystems (3)
PATCH 1/1 drm/panel: kd35t133: allow using non-continuous dsi clock
The panel is able to work when dsi clock is non-continuous, thus the system power consumption can be reduced using such feature.
Add MIPI_DSI_CLOCK_NON_CONTINUOUS to panel's mode_flags.
Also the flag actually becomes necessary after
commit c6d94e37bdbb ("drm/bridge/synopsys: dsi: add support for non-continuous HS clock") and without it the panel only emits stripes instead of output.
--- drivers/gpu/drm/panel/panel-elida-kd35t133.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/panel/panel-elida-kd35t133.c +2 -1
@@ -265,7 +265,8 @@ static int kd35t133_probe(struct mipi_dsi_device *dsi) dsi->lanes =1 ; dsi->format =MIPI_DSI_FMT_RGB888 ; dsi->mode_flags =MIPI_DSI_MODE_VIDEO |MIPI_DSI_MODE_VIDEO_BURST | -MIPI_DSI_MODE_LPM |MIPI_DSI_MODE_EOT_PACKET ; +MIPI_DSI_MODE_LPM |MIPI_DSI_MODE_EOT_PACKET | +MIPI_DSI_CLOCK_NON_CONTINUOUS ;drm_panel_init (&ctx->panel, &dsi->dev, &kd35t133_funcs,DRM_MODE_CONNECTOR_DSI );
Signature · 6 lines
2.29.2 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 10 lines · Heiko Stuebner
The panel is able to work when dsi clock is non-continuous, thus the system power consumption can be reduced using such feature.
Add
MIPI_DSI_CLOCK_NON_CONTINUOUSto panel'smode_flags.Also the flag actually becomes necessary after
commitc6d94e37bdbb("drm/bridge/synopsys: dsi: add support for non-continuous HS clock") and without it the panel only emits stripes instead of output.
Looks like c6d94e37bdbb landed in v5.10, so we should add:
non-continuous HS clock")
Cc: [email protected] # 5.10+
With this fix, my Odroid Go2 has display.
Thanks,
Ezequiel
Quoted 22 lines
Signed-off-by Heiko Stuebner <[email protected]>--- drivers/gpu/drm/panel/panel-elida-kd35t133.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/gpu/drm/panel/panel-elida-kd35t133.c +2
-2@@ -265,7 +265,8 @@ static int kd35t133_probe(struct mipi_dsi_device *dsi) dsi->lanes =1 ; dsi->format =MIPI_DSI_FMT_RGB888 ; dsi->mode_flags =MIPI_DSI_MODE_VIDEO |MIPI_DSI_MODE_VIDEO_BURST | -MIPI_DSI_MODE_LPM |MIPI_DSI_MODE_EOT_PACKET ; +MIPI_DSI_MODE_LPM |MIPI_DSI_MODE_EOT_PACKET | +MIPI_DSI_CLOCK_NON_CONTINUOUS ;drm_panel_init (&ctx->panel, &dsi->dev, &kd35t133_funcs,DRM_MODE_CONNECTOR_DSI ); --2.29.2
Quoted 4 lines
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Heiko Stuebner
AppliedQuoted 8 lines · Heiko Stuebner
The panel is able to work when dsi clock is non-continuous, thus the system power consumption can be reduced using such feature.
Add
MIPI_DSI_CLOCK_NON_CONTINUOUSto panel'smode_flags.Also the flag actually becomes necessary after
commitc6d94e37bdbb("drm/bridge/synopsys: dsi: add support for non-continuous HS clock") and without it the panel only emits stripes instead of output.
Applied, thanks!
[1/1] drm/panel: kd35t133: allow using non-continuous dsi clock
commit: 54dab3a718f7094532daf7d25cd14121a0e00e34
Best regards,
Signature · 5 lines
Heiko Stuebner <[email protected]> _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel