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:

committed by
orion brody

parent
e68e102598
commit
0c08cb1fb5
@@ -734,7 +734,8 @@ static const struct dp_drm_mst_fw_helper_ops drm_dp_sim_mst_fw_helper_ops = {
|
||||
|
||||
/* DP MST Bridge OPs */
|
||||
|
||||
static int dp_mst_bridge_attach(struct drm_bridge *dp_bridge)
|
||||
static int dp_mst_bridge_attach(struct drm_bridge *dp_bridge,
|
||||
enum drm_bridge_attach_flags flags)
|
||||
{
|
||||
struct dp_mst_bridge *bridge;
|
||||
|
||||
@@ -1294,7 +1295,7 @@ int dp_mst_drm_bridge_init(void *data, struct drm_encoder *encoder)
|
||||
|
||||
priv = dev->dev_private;
|
||||
|
||||
rc = drm_bridge_attach(encoder, &bridge->base, NULL);
|
||||
rc = drm_bridge_attach(encoder, &bridge->base, NULL, 0);
|
||||
if (rc) {
|
||||
DP_ERR("failed to attach bridge, rc=%d\n", rc);
|
||||
goto end;
|
||||
|
Reference in New Issue
Block a user