From: Jesse Barnes Subject: Re: [PATCH -next 1/2] drm/i915: restore FDI link rate on sandybridge Date: Wed, 13 Oct 2010 09:00:37 -0700 Message-ID: <20101013090037.03c26f01@jbarnes-desktop> References: <1286959212-2151-1-git-send-email-zhenyuw@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cpoproxy2-pub.bluehost.com (cpoproxy2-pub.bluehost.com [67.222.39.38]) by gabe.freedesktop.org (Postfix) with SMTP id 486139E75C for ; Wed, 13 Oct 2010 08:56:44 -0700 (PDT) In-Reply-To: <1286959212-2151-1-git-send-email-zhenyuw@linux.intel.com> 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: Zhenyu Wang Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, 13 Oct 2010 16:40:11 +0800 Zhenyu Wang wrote: > FDI_PLL_BIOS_0 register is for Ironlake only, don't apply to Sandybridge. > > Signed-off-by: Zhenyu Wang > --- > drivers/gpu/drm/i915/intel_display.c | 5 ++++- > 1 files changed, 4 insertions(+), 1 deletions(-) > > 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 */ So this gets the display working again with current bits? -- Jesse Barnes, Intel Open Source Technology Center