]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mcde: dsi: Delay start of video stream generator
authorStephan Gerhold <stephan@gerhold.net>
Wed, 6 Nov 2019 16:58:32 +0000 (17:58 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 9 Nov 2019 21:19:00 +0000 (22:19 +0100)
commit2eb5766f025d5d1d30c7e16085bac8a4f33d773d
tree020c095154e50822075138251909658fb0d0c79d
parent7d028194c8d38fc6fe34531ff588570dac17b38b
drm/mcde: dsi: Delay start of video stream generator

The initialization order for DSI video mode is important - if we
enable the video stream generator (VSG) before the MCDE DSI formatter
starts sending pixel data, it will immediately run into an error and
disable itself again.

Avoid this problem by delaying the activation of the VSG
until the MCDE DSI formatter is properly set up and running
(i.e. when mcde_dsi_bridge_enable() is called).

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20191106165835.2863-5-stephan@gerhold.net
drivers/gpu/drm/mcde/mcde_dsi.c