Skip to content

Commit d922d58

Browse files
mmindmlankhorst
authored andcommitted
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 c6d94e3 ("drm/bridge/synopsys: dsi: add support for non-continuous HS clock") and without it the panel only emits stripes instead of output. Fixes: c6d94e3 ("drm/bridge/synopsys: dsi: add support for non-continuous HS clock") Cc: stable@vger.kernel.org # 5.10+ Signed-off-by: Heiko Stuebner <heiko@sntech.de> Tested-by: Ezequiel Garcia <ezequiel@collabora.com> Reviewed-by: Christopher Morgan <macromorgan@hotmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210206135020.1991820-1-heiko@sntech.de Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
1 parent 5f94e35 commit d922d58

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/gpu/drm/panel/panel-elida-kd35t133.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,8 @@ static int kd35t133_probe(struct mipi_dsi_device *dsi)
265265
dsi->lanes = 1;
266266
dsi->format = MIPI_DSI_FMT_RGB888;
267267
dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
268-
MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_EOT_PACKET;
268+
MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_EOT_PACKET |
269+
MIPI_DSI_CLOCK_NON_CONTINUOUS;
269270

270271
drm_panel_init(&ctx->panel, &dsi->dev, &kd35t133_funcs,
271272
DRM_MODE_CONNECTOR_DSI);

0 commit comments

Comments
 (0)