]> 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)
commitd47af0a2c84ac4ad2e23c8f3fe0b2d5a0cb46c56
tree5b5fcaf8d6721fdf5aad2f32a956e86200d42289
parent20ee22d20c72bdde0df090badb14c5c51616e136
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