[Intel-gfx] [PATCH 35/36] drm/i915: drop haswell fdi lane check from intel_crt_mode_valid

Daniel Vetter daniel.vetter at ffwll.ch
Thu Feb 21 01:50:27 CET 2013


With the consolidate fdi lane computation and checking in the
pipe_config code we don't need this any more. Furthermore it's
actually not quite correct, since it doesn't take bpp into account.

And if we want to get fdi autodithering going, we can't reject modes
this early.

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
 drivers/gpu/drm/i915/intel_crt.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_crt.c b/drivers/gpu/drm/i915/intel_crt.c
index a67176e..c6d130a 100644
--- a/drivers/gpu/drm/i915/intel_crt.c
+++ b/drivers/gpu/drm/i915/intel_crt.c
@@ -198,11 +198,6 @@ static int intel_crt_mode_valid(struct drm_connector *connector,
 	if (mode->clock > max_clock)
 		return MODE_CLOCK_HIGH;
 
-	/* The FDI receiver on LPT only supports 8bpc and only has 2 lanes. */
-	if (HAS_PCH_LPT(dev) &&
-	    (ironlake_get_lanes_required(mode->clock, 270000, 24) > 2))
-		return MODE_CLOCK_HIGH;
-
 	return MODE_OK;
 }
 
-- 
1.7.11.4




More information about the Intel-gfx mailing list