On Fri, Nov 20, 2026 at 02:20:49PM -0500, Jesse Casco wrote:
> msm_dp_panel_read_link_caps() picks an eDP 1.4 LINK_RATE_SET index and
> fills panel->link_info.rate_set, use_rate_set and supported_rates, but
> msm_dp_ctrl_on_link() only copies rate and num_lanes into
> ctrl->link->link_params. Link training builds its msm_dp_link_info from
> link_params, so use_rate_set is always false there and
> msm_dp_aux_link_configure() never writes LINK_RATE_SET. The rate-set
> branch of msm_dp_ctrl_link_rate_down_shift() is unreachable for the
> same reason.
>
> Copy the rate-set fields along with the rate, pass them to
> msm_dp_aux_link_configure(), and restore rate_set together with the
> rate when falling back to fewer lanes.
>
> Fixes: ed100aa239be ("drm/msm/dp: Enable support for eDP v1.4+ link rates
> table")
> Signed-off-by: Jesse Casco <[email protected]>
> ---
> drivers/gpu/drm/msm/dp/dp_ctrl.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
Reviewed-by: Dmitry Baryshkov <[email protected]>
--
With best wishes
Dmitry