]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panel: kd35t133: allow using non-continuous dsi clock
authorHeiko Stuebner <heiko@sntech.de>
Sat, 6 Feb 2021 13:50:20 +0000 (14:50 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 25 Feb 2021 09:18:45 +0000 (10:18 +0100)
commit796b14fbfd14a560a24417350239bbe3401d033d
tree3c9dcc7cff22fd9550caa851e00a2a3dff0f4db7
parent36431b19f0928862d585fee345bfd0b38b1fc5b1
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 19b077d8ee75 ("drm/bridge/synopsys: dsi: add support for non-continuous HS clock")
and without it the panel only emits stripes instead of output.

Fixes: 19b077d8ee75 ("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>
drivers/gpu/drm/panel/panel-elida-kd35t133.c