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)
commit6ddfb00d7d7aceded3409c83b0bd45f0d00785c1
tree020c095154e50822075138251909658fb0d0c79d
parent57efea87db43ba0dbb2a9b2987d5f41637c965c1
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