Message ID | 20240722165503.2084999-11-imre.deak@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm/i915/dp_mst: Enable LT fallback for UHBR<->non-UHBR rates | expand |
> -----Original Message----- > From: Intel-gfx <intel-gfx-bounces@lists.freedesktop.org> On Behalf Of Imre > Deak > Sent: Monday, July 22, 2024 10:25 PM > To: intel-gfx@lists.freedesktop.org > Subject: [PATCH 10/14] 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. > > Signed-off-by: Imre Deak <imre.deak@intel.com> LGTM, Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com> > --- > drivers/gpu/drm/i915/display/intel_dp.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/i915/display/intel_dp.c > b/drivers/gpu/drm/i915/display/intel_dp.c > index d3529c5836393..1c6d1db1d2690 100644 > --- a/drivers/gpu/drm/i915/display/intel_dp.c > +++ b/drivers/gpu/drm/i915/display/intel_dp.c > @@ -6025,13 +6025,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) { > -- > 2.44.2
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c index d3529c5836393..1c6d1db1d2690 100644 --- a/drivers/gpu/drm/i915/display/intel_dp.c +++ b/drivers/gpu/drm/i915/display/intel_dp.c @@ -6025,13 +6025,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) {
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. Signed-off-by: Imre Deak <imre.deak@intel.com> --- drivers/gpu/drm/i915/display/intel_dp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)