]> 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)
commita76e9163967e6a800386330f5da6bcf3636ce856
tree020c095154e50822075138251909658fb0d0c79d
parent0a4cc5f796fdbc1c91867cd2db9762c5e69c4855
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