Skip to content

Commit d1039a3

Browse files
jnikularodrigovivi
authored andcommitted
drm/i915/mst: update max stream count to match number of pipes
We create the stream encoders and attach connectors for each pipe we have. As the number of pipes has increased, we've failed to update the topology manager maximum number of payloads to match that. Bump up the max stream count to match number of pipes, enabling the fourth stream on platforms that support four pipes. Cc: [email protected] Cc: Imre Deak <[email protected]> Cc: Ville Syrjala <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Jani Nikula <[email protected]> (cherry picked from commit 15bccbf) Signed-off-by: Rodrigo Vivi <[email protected]>
1 parent 7eb1721 commit d1039a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/gpu/drm/i915/display/intel_dp_mst.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1867,7 +1867,8 @@ intel_dp_mst_encoder_init(struct intel_digital_port *dig_port, int conn_base_id)
18671867
/* create encoders */
18681868
mst_stream_encoders_create(dig_port);
18691869
ret = drm_dp_mst_topology_mgr_init(&intel_dp->mst_mgr, display->drm,
1870-
&intel_dp->aux, 16, 3, conn_base_id);
1870+
&intel_dp->aux, 16,
1871+
INTEL_NUM_PIPES(display), conn_base_id);
18711872
if (ret) {
18721873
intel_dp->mst_mgr.cbs = NULL;
18731874
return ret;

0 commit comments

Comments
 (0)