diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-08-05 02:52:35 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-08-05 02:52:35 +0000 |
commit | dc50bc8426078df29fca0eaf98ce19f26b102221 (patch) | |
tree | facce621b1b15456a411b94eb4aacd9641f0a268 /sys/dev | |
parent | ae9dfb8bca578a0d5e519b76c35ccc4bc65f0bec (diff) |
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
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/drm/i915/display/intel_dp.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |