From: jsg Date: Mon, 5 Aug 2024 02:52:34 +0000 (+0000) Subject: drm/i915/dp: Reset intel_dp->link_trained before retraining the link X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=aa0c546b6087fa0ed9bedb66fff48eb88c631cb4;p=openbsd drm/i915/dp: Reset intel_dp->link_trained before retraining the link From Imre Deak a90e900f71da23a354e9d17f1dc0c654d0ae9ceb in linux-6.6.y/6.6.44 d13e2a6e95e6b87f571c837c71a3d05691def9bb in mainline linux --- diff --git a/sys/dev/pci/drm/i915/display/intel_dp.c b/sys/dev/pci/drm/i915/display/intel_dp.c index f80bd9f0363..5386d3a6bf8 100644 --- a/sys/dev/pci/drm/i915/display/intel_dp.c +++ b/sys/dev/pci/drm/i915/display/intel_dp.c @@ -4374,6 +4374,8 @@ int intel_dp_retrain_link(struct intel_encoder *encoder, !intel_dp_mst_is_master_trans(crtc_state)) continue; + intel_dp->link_trained = false; + intel_dp_check_frl_training(intel_dp); intel_dp_pcon_dsc_configure(intel_dp, crtc_state); intel_dp_start_link_train(intel_dp, crtc_state);