diff mbox series

[2/3] Revert "UBUNTU: SAUCE: drm/i915/dp: Use max params for older panels"

Message ID 20211109102146.65708-3-tjaalton@ubuntu.com
State New
Headers show
Series drm: Revert some obsolete commits | expand

Commit Message

Timo Aaltonen Nov. 9, 2021, 10:21 a.m. UTC
From: Timo Aaltonen <timo.aaltonen@canonical.com>

This reverts commit 0643195a460a27f0fd53d6188cad7d2e41ef877e.

A newer version of this patch is already applied upstream:
c8dead5751b81df drm/i915/dp: Use max params for panels < eDP 1.4

Signed-off-by: Timo Aaltonen <timo.aaltonen@canonical.com>
---
 drivers/gpu/drm/i915/display/intel_dp.c | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index d516de868487..5cf152be4487 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -1330,16 +1330,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;