disp: msm: update parameters for drm_bridge_attach

Commit a25b988ff83f ("drm/bridge: Extend bridge API to
disable connector creation") and commit ee68c743f8d0 ("drm: Stop
including drm_bridge.h from drm_crtc.h) add additional input flags.
This change adds fixes to the drm bridge attach API and includes
relevant drm_bridge header files.

Change-Id: I85e84eaff7df2995243896108a217fae81716b63
Signed-off-by: Samantha Tran <samtran@codeaurora.org>
Signed-off-by: Nilaan Gunabalachandran <ngunabal@codeaurora.org>
This commit is contained in:
Samantha Tran
2020-09-17 13:05:48 -07:00
committed by orion brody
parent e68e102598
commit 0c08cb1fb5
9 changed files with 15 additions and 7 deletions

View File

@@ -6419,7 +6419,7 @@ int dsi_display_drm_ext_bridge_init(struct dsi_display *display,
ext_bridge->funcs = &ext_bridge_info->bridge_funcs;
}
rc = drm_bridge_attach(encoder, ext_bridge, prev_bridge);
rc = drm_bridge_attach(encoder, ext_bridge, prev_bridge, 0);
if (rc) {
DSI_ERR("[%s] ext brige attach failed, %d\n",
display->name, rc);