From: Adam Jackson Subject: [RFT] eDP setup fix Date: Wed, 12 May 2010 11:29:52 -0400 Message-ID: <1273678193-4697-1-git-send-email-ajax@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by gabe.freedesktop.org (Postfix) with ESMTP id 3BBA29E758 for ; Wed, 12 May 2010 08:29:59 -0700 (PDT) Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o4CFTwJv013390 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 12 May 2010 11:29:58 -0400 Received: from localhost.localdomain (ihatethathostname.lab.bos.redhat.com [10.16.43.238]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o4CFTvbL022449 for ; Wed, 12 May 2010 11:29:58 -0400 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-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org I got a report of KMS setup failing on an eDP panel. dmesg shows us trying to set 1.62GHz for the link rate, which would be perfectly legal for the requested mode, but the VBT appears to claim that the panel only supports 2.7GHz. This patch attempts to scrape the eDP setup parameters out of the VBT and use those instead of forcing something else down the panel's throat. I don't have any eDP machines to test with at the moment, so wider testing would be appreciated. In particular I'm not trying to get the voltage or pre-emphasis levels out of the VBT either, but hopefully that isn't necessary. - ajax