]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: Make DSI call into the bridge after the DSI link is enabled.
authorEric Anholt <eric@anholt.net>
Thu, 21 Jun 2018 23:17:59 +0000 (16:17 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 29 Jun 2018 20:42:09 +0000 (13:42 -0700)
commitaf51eb8cd625fcc11bd588d43e97c4de2e652c33
tree5b5fcaf8d6721fdf5aad2f32a956e86200d42289
parentbe1d41e7fde1f4b29315668daf20de410d34b30f
drm/vc4: Make DSI call into the bridge after the DSI link is enabled.

This allows panels or bridges that need to send DSI commands during
pre_enable() to successfully send them.  We delay DISP0 (aka the
actual display) enabling until after pre_enable so that pixels aren't
streaming before then.

v2: Just clear out the encoder->bridge value to disable the midlayer
    calls (idea by Andrzej Hajda).

Signed-off-by: Eric Anholt <eric@anholt.net>
Cc: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180621231759.29604-1-eric@anholt.net
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
drivers/gpu/drm/vc4/vc4_dsi.c