[I/Unstable/OEM-5.13/OEM-5.14] [PATCH 1/2] Revert "UBUNTU: SAUCE: drm/i915/dp: Use max params for older panels"

Kai-Heng Feng kai.heng.feng at canonical.com
Wed Sep 8 02:42:34 UTC 2021


BugLink: https://bugs.launchpad.net/bugs/1942972

This reverts commit 33ed533625aa7179758db26a61df62a318f4a6ed.

Signed-off-by: Kai-Heng Feng <kai.heng.feng at canonical.com>
---
 drivers/gpu/drm/i915/display/intel_dp.c | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 8b0727254fda8..862c1df69cc2a 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -1338,16 +1338,14 @@ intel_dp_compute_link_config(struct intel_encoder *encoder,
 	limits.min_bpp = intel_dp_min_bpp(pipe_config->output_format);
 	limits.max_bpp = intel_dp_max_bpp(intel_dp, pipe_config);
 
-	if (intel_dp->use_max_params ||
-	    intel_dp->dpcd[DP_DPCD_REV] <= DP_DPCD_REV_11) {
+	if (intel_dp->use_max_params) {
 		/*
 		 * Use the maximum clock and number of lanes the eDP panel
 		 * advertizes being capable of in case the initial fast
-		 * optimal params failed us or the panel is DP 1.1 or earlier.
-		 * The panels are generally designed to support only a single
-		 * clock and lane configuration, and typically on older panels
-		 * these values correspond to the native resolution of the
-		 * panel.
+		 * optimal params failed us. The panels are generally
+		 * designed to support only a single clock and lane
+		 * configuration, and typically on older panels these
+		 * values correspond to the native resolution of the panel.
 		 */
 		limits.min_lane_count = limits.max_lane_count;
 		limits.min_clock = limits.max_clock;
-- 
2.32.0




More information about the kernel-team mailing list