From patchwork Wed Oct 13 08:40:11 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenyu Wang X-Patchwork-Id: 249971 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o9D8drQL013475 for ; Wed, 13 Oct 2010 08:40:34 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3B4849F3B1 for ; Wed, 13 Oct 2010 01:39:53 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id 51F869F389 for ; Wed, 13 Oct 2010 01:39:38 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 13 Oct 2010 01:39:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.57,324,1283756400"; d="scan'208";a="616227995" Received: from snb-beast.sh.intel.com (HELO localhost.localdomain) ([10.239.36.62]) by fmsmga002.fm.intel.com with ESMTP; 13 Oct 2010 01:39:37 -0700 From: Zhenyu Wang To: intel-gfx@lists.freedesktop.org Date: Wed, 13 Oct 2010 16:40:11 +0800 Message-Id: <1286959212-2151-1-git-send-email-zhenyuw@linux.intel.com> X-Mailer: git-send-email 1.7.0.4 Subject: [Intel-gfx] [PATCH -next 1/2] drm/i915: restore FDI link rate on sandybridge X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 13 Oct 2010 08:40:34 +0000 (UTC) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 8e98d70..b711e98 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -3709,7 +3709,10 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc, * Hence the bw of each lane in terms of the mode signal * is: */ - link_bw = intel_fdi_link_freq(dev) * MHz(100)/KHz(1)/10; + if (IS_GEN5(dev)) + link_bw = intel_fdi_link_freq(dev) * MHz(100)/KHz(1)/10; + else + link_bw = 270000; } /* determine panel color depth */