From patchwork Sat Sep 19 06:54:07 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenyu Wang X-Patchwork-Id: 47829 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8G5sXRK019557 for ; Wed, 16 Sep 2009 05:54:33 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 840199EB1D; Tue, 15 Sep 2009 22:54:33 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from fmsmga102.fm.intel.com (mga10.intel.com [192.55.52.92]) by gabe.freedesktop.org (Postfix) with ESMTP id 8A02A9E98B for ; Tue, 15 Sep 2009 22:54:29 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 15 Sep 2009 22:42:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.44,395,1249282800"; d="scan'208";a="493895386" Received: from ubuntu-ilm.sh.intel.com (HELO localhost.localdomain) ([10.239.36.94]) by fmsmga002.fm.intel.com with ESMTP; 15 Sep 2009 22:46:42 -0700 From: Zhenyu Wang To: eric@anholt.net Date: Sat, 19 Sep 2009 14:54:07 +0800 Message-Id: <1253343249-12008-3-git-send-email-zhenyuw@linux.intel.com> X-Mailer: git-send-email 1.6.0.4 In-Reply-To: <1253343249-12008-2-git-send-email-zhenyuw@linux.intel.com> References: <1253343249-12008-1-git-send-email-zhenyuw@linux.intel.com> <1253343249-12008-2-git-send-email-zhenyuw@linux.intel.com> Cc: intel-gfx@lists.freedesktop.org, Stable Team Subject: [Intel-gfx] [PATCH] drm/i915: Fix SSC frequence for IGDNG X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.9 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@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org IGDNG LVDS SSC uses 120Mhz freq. This fixes one 1600x900 LVDS panel black issue on IGDNG with SSC enabled. Cc: Stable Team Signed-off-by: Zhenyu Wang --- drivers/gpu/drm/i915/intel_bios.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_bios.c b/drivers/gpu/drm/i915/intel_bios.c index 1e28c16..4337414 100644 --- a/drivers/gpu/drm/i915/intel_bios.c +++ b/drivers/gpu/drm/i915/intel_bios.c @@ -217,6 +217,9 @@ parse_general_features(struct drm_i915_private *dev_priv, if (IS_I85X(dev_priv->dev)) dev_priv->lvds_ssc_freq = general->ssc_freq ? 66 : 48; + else if (IS_IGDNG(dev_priv->dev)) + dev_priv->lvds_ssc_freq = + general->ssc_freq ? 100 : 120; else dev_priv->lvds_ssc_freq = general->ssc_freq ? 100 : 96;