projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81c9642
)
drm/i915/dp_mst: Reset intel_dp->link_trained during disabling
author
Imre Deak
<imre.deak@intel.com>
Mon, 10 Jun 2024 16:49:27 +0000
(19:49 +0300)
committer
Imre Deak
<imre.deak@intel.com>
Thu, 13 Jun 2024 18:26:49 +0000
(21:26 +0300)
Reset the flag indicating an active link after disabling an MST link,
similarly to how this is done for SST outputs. This avoids trying to
retrain an MST link while its disabled.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20240610164933.2947366-16-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp_mst.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/display/intel_dp_mst.c
b/drivers/gpu/drm/i915/display/intel_dp_mst.c
index
06fa064
..
e92a10c
100644
(file)
--- a/
drivers/gpu/drm/i915/display/intel_dp_mst.c
+++ b/
drivers/gpu/drm/i915/display/intel_dp_mst.c
@@
-983,6
+983,9
@@
static void intel_mst_disable_dp(struct intel_atomic_state *state,
drm_dbg_kms(&i915->drm, "active links %d\n",
intel_dp->active_mst_links);
+ if (intel_dp->active_mst_links == 1)
+ intel_dp->link_trained = false;
+
intel_hdcp_disable(intel_mst->connector);
intel_dp_sink_disable_decompression(state, connector, old_crtc_state);