diff options
author | Imre Deak <imre.deak@intel.com> | 2020-10-07 20:09:14 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2020-10-12 15:31:37 +0300 |
commit | c43027a9a37541dbdc54e9dca647602175ff27a2 (patch) | |
tree | 75e16df1345d6a20eb4e075e1b1b301064931105 /include | |
parent | 0a5991f5d022235ba085001e2a3926f83a0aed1b (diff) | |
download | lwn-c43027a9a37541dbdc54e9dca647602175ff27a2.tar.gz lwn-c43027a9a37541dbdc54e9dca647602175ff27a2.zip |
drm/i915: Factor out a helper to disable the DPCD training pattern
To prepare for a follow-up LTTPR change factor out a helper to disable
the training pattern in DPCD. We'll need to do this for each LTTPR
(without programming the port to output the idle pattern) when training
in LTTPR non-transparent mode.
While at it also move the disable-link-training logic from
intel_dp_set_link_train() to intel_dp_stop_link_train(), since the
latter is the only user of this.
v2:
- Move the disable-link-training logic to intel_dp_stop_link_train()
(Ville)
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
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/20201007170917.1764556-4-imre.deak@intel.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions