diff options
| author | Jani Nikula <[email protected]> | 2025-02-26 13:56:26 +0000 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2025-02-27 10:11:20 +0000 |
| commit | 15bccbfb78d63a2a621b30caff8b9424160c6c89 (patch) | |
| tree | 1ba94b3c2c17ac86f88609ab572975db14ade3c7 /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
| parent | drm/i915: Fix pipeDMC and ATS fault handling (diff) | |
| download | kernel-15bccbfb78d63a2a621b30caff8b9424160c6c89.tar.gz kernel-15bccbfb78d63a2a621b30caff8b9424160c6c89.zip | |
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]>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
| -rw-r--r-- | drivers/gpu/drm/i915/display/intel_dp_mst.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.c b/drivers/gpu/drm/i915/display/intel_dp_mst.c index faa261c8930c..889b3a902b8f 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c @@ -1896,7 +1896,8 @@ intel_dp_mst_encoder_init(struct intel_digital_port *dig_port, int conn_base_id) /* create encoders */ mst_stream_encoders_create(dig_port); ret = drm_dp_mst_topology_mgr_init(&intel_dp->mst_mgr, display->drm, - &intel_dp->aux, 16, 3, conn_base_id); + &intel_dp->aux, 16, + INTEL_NUM_PIPES(display), conn_base_id); if (ret) { intel_dp->mst_mgr.cbs = NULL; return ret; |
