drm/panel: rm68200: allow using non-continuous dsi clock
Subsystems (3)
PATCH 1/1 drm/panel: rm68200: 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.
Signed-off-by Antonio Borneo <[email protected]>
Signed-off-by Yannick Fertre <[email protected]>
--- drivers/gpu/drm/panel/panel-raydium-rm68200.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/panel/panel-raydium-rm68200.c +1 -1
@@ -391,7 +391,7 @@ static int rm68200_probe(struct mipi_dsi_device *dsi) dsi->lanes =2 ; 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_LPM |MIPI_DSI_CLOCK_NON_CONTINUOUS ;drm_panel_init (&ctx->panel, dev, &rm68200_drm_funcs,DRM_MODE_CONNECTOR_DSI );
Signature · 6 lines
2.17.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Sam Ravnborg
AppliedHi Yannick
Quoted 7 lines · Yannick Fertre
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.Signed-off-by Antonio Borneo <[email protected]>Signed-off-by Yannick Fertre <[email protected]>
Applied to drm-misc-next.
Sam
Quoted 19 lines
--- drivers/gpu/drm/panel/panel-raydium-rm68200.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/panel/panel-raydium-rm68200.c +1
-1@@ -391,7 +391,7 @@ static int rm68200_probe(struct mipi_dsi_device *dsi) dsi->lanes =2 ; 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_LPM |MIPI_DSI_CLOCK_NON_CONTINUOUS ;drm_panel_init (&ctx->panel, dev, &rm68200_drm_funcs,DRM_MODE_CONNECTOR_DSI );Signature · 1 line
2.17.1