drm/i915/dp_mst: Configure MST after the link parameters are reset

The MST topology probing depends on the maximum link parameters -
programmed to DPCD if required by a follow-up patch - so make sure these
parameters are up-to-date before configuring and probing the MST
topology.

Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240722165503.2084999-11-imre.deak@intel.com
This commit is contained in:
Imre Deak 2024-07-22 19:54:59 +03:00
parent aa705f7ec6
commit 8f1fe39ded

View File

@ -6020,13 +6020,13 @@ intel_dp_detect(struct drm_connector *connector,
intel_dp_detect_sdp_caps(intel_dp);
intel_dp_mst_configure(intel_dp);
if (intel_dp->reset_link_params) {
intel_dp_reset_link_params(intel_dp);
intel_dp->reset_link_params = false;
}
intel_dp_mst_configure(intel_dp);
intel_dp_print_rates(intel_dp);
if (intel_dp->is_mst) {