From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?IkRhdmlkIE3DvGxsZXIgKEVMU09GVCBBRyki?= Subject: Valid VCO range on 855GME platform Date: Sat, 11 Jun 2011 10:48:50 +0200 Message-ID: <4DF32BF2.9070100@elsoft.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.hostpark.net (mail6.hostpark.net [212.243.197.36]) by gabe.freedesktop.org (Postfix) with ESMTP id 118369E754 for ; Sat, 11 Jun 2011 01:56:04 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail6.hostpark.net (Postfix) with ESMTP id 2DDCB176E0 for ; Sat, 11 Jun 2011 10:48:51 +0200 (CEST) Received: from mail6.hostpark.net ([127.0.0.1]) by localhost (mail6.hostpark.net [127.0.0.1]) (amavisd-new, port 10124) with ESMTP id qYSuiL0ZHmld for ; Sat, 11 Jun 2011 10:48:51 +0200 (CEST) Received: from [192.168.11.10] (80-218-108-22.dclient.hispeed.ch [80.218.108.22]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail6.hostpark.net (Postfix) with ESMTPSA id 07C14176BE for ; Sat, 11 Jun 2011 10:48:51 +0200 (CEST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org Hello I have a problem using a 1024x768@60Hz LVDS panel attached to a 855GME based system running under Linux-2.6.39. As long as the system is under VGA BIOS control, everything is fine (panel refresh rate is 60.1Hz). As soon as the i915 Linux driver is taking over control, the refresh rate raises to 61.4Hz. As far as i can see the i915 driver is (wrongly) reprogramming the Pipe B PLL to a higher dot clock as shown below: PLL values set up by VGA BIOS: N=4, M1=18, M2=12, P1=1, P2=14 => dot clock: 65.142 MHz, refresh rate: 60.1Hz PLL values set up by i915 driver: N=5, M1=22, M2=14, P1=1, P2=14 => dot clock: 66.612MHz, refresh rate: 61.4Hz According to "intel_PLL_is_valid()" the PLL values used by the VGA BIOS are invalid because of a "vco out of range" condition. Is the "I8XX_VCO_MIN" in "drivers/gpu/drm/i915/intel_display.c" correctly set or should it be set to a lower value? Dave