Commit 104c1b3d authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Allow per-lane drive settings with LTTPRs

LTTPRs should support per-lane drive settings I think, and even if
they don't they should implement their own fallback logic to determine
suitable common drive settings to use for all the lanes.

v2: Actually check the correct thing
Reviewed-by: default avatarImre Deak <imre.deak@intel.com>
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211001130107.1746-11-ville.syrjala@linux.intel.com
parent c6921d48
...@@ -304,7 +304,7 @@ static u8 intel_dp_phy_preemph_max(struct intel_dp *intel_dp, ...@@ -304,7 +304,7 @@ static u8 intel_dp_phy_preemph_max(struct intel_dp *intel_dp,
static bool has_per_lane_signal_levels(struct intel_dp *intel_dp, static bool has_per_lane_signal_levels(struct intel_dp *intel_dp,
enum drm_dp_phy dp_phy) enum drm_dp_phy dp_phy)
{ {
return false; return !intel_dp_phy_is_downstream_of_source(intel_dp, dp_phy);
} }
static u8 intel_dp_get_lane_adjust_train(struct intel_dp *intel_dp, static u8 intel_dp_get_lane_adjust_train(struct intel_dp *intel_dp,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment