drm/msm/dsi: Move dsi panel init into modeset init path
authorSean Paul <seanpaul@chromium.org>
Mon, 17 Jun 2019 20:12:57 +0000 (16:12 -0400)
committerSean Paul <seanpaul@chromium.org>
Thu, 20 Jun 2019 18:42:17 +0000 (14:42 -0400)
commit6d5e78406991a144b7c44cd57b21e290fdb1d227
treeb00b0544ce5f2f5386edecb2d61740bdd16e767a
parent970524b07a9c1d0434266a0f32825631bc206848
drm/msm/dsi: Move dsi panel init into modeset init path

Since deferred probe from the modeset init path now works, we can move
the panel initialization from detect() into connector init. This
avoids doing work in detect() and hopefully will result in a more
deterministic boot sequence between devices with a dsi panel, and those
with an external bridge.

Reviewed-by: Rob Clark <robdclark@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190617201301.133275-9-sean@poorly.run
drivers/gpu/drm/msm/dsi/dsi_manager.c