]> www.infradead.org Git - nvme.git/commit
drm/i915/dp: Reset intel_dp->link_trained before retraining the link
authorImre Deak <imre.deak@intel.com>
Mon, 8 Jul 2024 19:00:24 +0000 (22:00 +0300)
committerImre Deak <imre.deak@intel.com>
Thu, 11 Jul 2024 18:10:11 +0000 (21:10 +0300)
commita4d5ce61765c08ab364aa4b327f6739b646e6cfa
treef26bdb6a763f7d901cc1f586fea3e28dc8ccb145
parent7fbad577c82c5dd6db7217855c26f51554e53d85
drm/i915/dp: Reset intel_dp->link_trained before retraining the link

Regularly retraining a link during an atomic commit happens with the
given pipe/link already disabled and hence intel_dp->link_trained being
false. Ensure this also for retraining a DP SST link via direct calls to
the link training functions (vs. an actual commit as for DP MST). So far
nothing depended on this, however the next patch will depend on
link_trained==false for changing the LTTPR mode to non-transparent.

Cc: <stable@vger.kernel.org> # v5.15+
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240708190029.271247-2-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp.c