[Intel-gfx] [PATCH 9/9] drm/i915: Allow per-lane drive settings with LTTPRs

Ville Syrjala ville.syrjala at linux.intel.com
Mon Sep 27 18:24:55 UTC 2021


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

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.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 drivers/gpu/drm/i915/display/intel_dp_link_training.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_dp_link_training.c b/drivers/gpu/drm/i915/display/intel_dp_link_training.c
index 4465c83a97d4..7051d7a594f3 100644
--- a/drivers/gpu/drm/i915/display/intel_dp_link_training.c
+++ b/drivers/gpu/drm/i915/display/intel_dp_link_training.c
@@ -304,7 +304,7 @@ static u8 intel_dp_phy_preemph_max(struct intel_dp *intel_dp,
 static bool has_per_lane_signal_levels(struct drm_i915_private *i915,
 				       enum drm_dp_phy dp_phy)
 {
-	return false;
+	return dp_phy != DP_PHY_DPRX;
 }
 
 static u8 intel_dp_get_lane_adjust_train(struct intel_dp *intel_dp,
-- 
2.32.0



More information about the Intel-gfx mailing list