From: Daniel Vetter Subject: [PATCH 35/36] drm/i915: drop haswell fdi lane check from intel_crt_mode_valid Date: Thu, 21 Feb 2013 01:50:27 +0100 Message-ID: <1361407828-2419-36-git-send-email-daniel.vetter@ffwll.ch> References: <1361407828-2419-1-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ea0-f175.google.com (mail-ea0-f175.google.com [209.85.215.175]) by gabe.freedesktop.org (Postfix) with ESMTP id D958DE601B for ; Wed, 20 Feb 2013 16:51:41 -0800 (PST) Received: by mail-ea0-f175.google.com with SMTP id d1so3600388eab.34 for ; Wed, 20 Feb 2013 16:51:41 -0800 (PST) In-Reply-To: <1361407828-2419-1-git-send-email-daniel.vetter@ffwll.ch> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Intel Graphics Development Cc: Daniel Vetter List-Id: intel-gfx@lists.freedesktop.org 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 --- 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