disp: msm: encoder_ids replaced in drm_connector
Commit 62afb4ad425a ("drm/connector: Allow max possible encoders to attach to a connector") enables additional encoders per connector through use of a mask rather than encoder ids. This change updates the driver when looking for an encoder for the connector to look through the list of all possible encoders. Change-Id: I69cc7c38cd0a9842ed2f15712feeb3c6b88daadf Signed-off-by: Samantha Tran <samtran@codeaurora.org> Signed-off-by: Nilaan Gunabalachandran <ngunabal@codeaurora.org>
This commit is contained in:

committed by
Nilaan Gunabalachandran

parent
da5f5ff1ae
commit
2616e57a0a
@@ -2078,8 +2078,7 @@ dp_mst_add_fixed_connector(struct drm_dp_mst_topology_mgr *mgr,
|
||||
drm_modeset_lock_all(dev);
|
||||
|
||||
/* clear encoder list */
|
||||
for (i = 0; i < DRM_CONNECTOR_MAX_ENCODER; i++)
|
||||
connector->encoder_ids[i] = 0;
|
||||
connector->possible_encoders = 0;
|
||||
|
||||
/* re-attach encoders from first available encoders */
|
||||
for (i = enc_idx; i < MAX_DP_MST_DRM_BRIDGES; i++)
|
||||
|
Reference in New Issue
Block a user