diff options
author | Sean Paul <seanpaul@chromium.org> | 2019-06-17 16:12:58 -0400 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2019-06-20 14:42:19 -0400 |
commit | 03436e3ec69c8e026224a5f172e5d0431f722305 (patch) | |
tree | 8082d72c8eb37aae77f24ef59771da7d134938d3 /drivers/gpu/drm/msm/dsi/dsi_host.c | |
parent | 6d5e78406991a144b7c44cd57b21e290fdb1d227 (diff) |
drm/msm/dsi: Move setup_encoder to modeset_init
Now that the panel probe/setup is in the modeset path, we can call
dsi_manager_setup_encoder() in a common place for both internal and
external bridge setups.
Reviewed-by: Rob Clark <robdclark@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190617201301.133275-10-sean@poorly.run
Diffstat (limited to 'drivers/gpu/drm/msm/dsi/dsi_host.c')
-rw-r--r-- | drivers/gpu/drm/msm/dsi/dsi_host.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c b/drivers/gpu/drm/msm/dsi/dsi_host.c index f6eb91cf97e6..1ae2f5522979 100644 --- a/drivers/gpu/drm/msm/dsi/dsi_host.c +++ b/drivers/gpu/drm/msm/dsi/dsi_host.c @@ -1598,8 +1598,6 @@ static int dsi_host_attach(struct mipi_dsi_host *host, msm_host->format = dsi->format; msm_host->mode_flags = dsi->mode_flags; - msm_dsi_manager_attach_dsi_device(msm_host->id); - /* Some gpios defined in panel DT need to be controlled by host */ ret = dsi_host_init_panel_gpios(msm_host, &dsi->dev); if (ret) |