aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_dp_mst.c
diff options
context:
space:
mode:
authorImre Deak <[email protected]>2025-04-04 15:03:05 +0000
committerImre Deak <[email protected]>2025-04-07 13:24:59 +0000
commitdb0f7e20c284dba5fb087dd09f56db9faed560f4 (patch)
treeb9ec0e2010d55a9ef7bdfdce1b63cff071adb8fc /drivers/gpu/drm/i915/display/intel_dp_mst.c
parentdrm/i915/vrr: Add vrr.vsync_{start, end} in vrr_params_changed (diff)
downloadkernel-db0f7e20c284dba5fb087dd09f56db9faed560f4.tar.gz
kernel-db0f7e20c284dba5fb087dd09f56db9faed560f4.zip
drm/i915/dp: Rename intel_dp::link_trained to link.active
The intel_dp::link_trained flag indicates whether the link is active, regardless of whether the link training passed or failed. For clarity rename the flag to 'active'. While at it move the flag under intel_dp::link. Suggested-by: Jani Nikula <[email protected]> Reviewed-by: Jani Nikula <[email protected]> Signed-off-by: Imre Deak <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
-rw-r--r--drivers/gpu/drm/i915/display/intel_dp_mst.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.c b/drivers/gpu/drm/i915/display/intel_dp_mst.c
index d2988b9a6e7b..325c2a034655 100644
--- a/drivers/gpu/drm/i915/display/intel_dp_mst.c
+++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c
@@ -1004,7 +1004,7 @@ static void mst_stream_disable(struct intel_atomic_state *state,
intel_dp->mst.active_links);
if (intel_dp->mst.active_links == 1)
- intel_dp->link_trained = false;
+ intel_dp->link.active = false;
intel_hdcp_disable(intel_mst->connector);
@@ -2108,7 +2108,7 @@ void intel_dp_mst_prepare_probe(struct intel_dp *intel_dp)
u8 rate_select;
u8 link_bw;
- if (intel_dp->link_trained)
+ if (intel_dp->link.active)
return;
if (intel_mst_probed_link_params_valid(intel_dp, link_rate, lane_count))