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
کامیت شده توسط orion brody
والد e68e102598
کامیت 0c08cb1fb5
9فایلهای تغییر یافته به همراه15 افزوده شده و 7 حذف شده

مشاهده پرونده

@@ -149,7 +149,8 @@ void dsi_convert_to_drm_mode(const struct dsi_display_mode *dsi_mode,
video_mode ? "vid" : "cmd");
}
static int dsi_bridge_attach(struct drm_bridge *bridge)
static int dsi_bridge_attach(struct drm_bridge *bridge,
enum drm_bridge_attach_flags flags)
{
struct dsi_bridge *c_bridge = to_dsi_bridge(bridge);
@@ -1123,7 +1124,7 @@ struct dsi_bridge *dsi_drm_bridge_init(struct dsi_display *display,
bridge->base.funcs = &dsi_bridge_ops;
bridge->base.encoder = encoder;
rc = drm_bridge_attach(encoder, &bridge->base, NULL);
rc = drm_bridge_attach(encoder, &bridge->base, NULL, 0);
if (rc) {
DSI_ERR("failed to attach bridge, rc=%d\n", rc);
goto error_free_bridge;