From patchwork Wed Jan 6 23:35:22 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Barnes X-Patchwork-Id: 71485 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o06NZPTW028121 for ; Wed, 6 Jan 2010 23:35:25 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 232DC9EDC8; Wed, 6 Jan 2010 15:35:25 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from outbound-mail-320.bluehost.com (outbound-mail-320.bluehost.com [67.222.54.252]) by gabe.freedesktop.org (Postfix) with SMTP id 3847D9E86C for ; Wed, 6 Jan 2010 15:35:22 -0800 (PST) Received: (qmail 23487 invoked by uid 0); 6 Jan 2010 23:35:22 -0000 Received: from unknown (HELO box514.bluehost.com) (74.220.219.114) by outboundproxy6.bluehost.com with SMTP; 6 Jan 2010 23:35:22 -0000 Received: from [75.111.28.251] (helo=jbarnes-piketon) by box514.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1NSfPN-0004hx-T1; Wed, 06 Jan 2010 16:35:22 -0700 Date: Wed, 6 Jan 2010 15:35:22 -0800 From: Jesse Barnes To: Hanno =?UTF-8?B?QsO2Y2s=?= Message-ID: <20100106153522.1918e4af@jbarnes-piketon> In-Reply-To: <201001070024.16703.hanno@hboeck.de> References: <201001062336.35776.hanno@hboeck.de> <20100106144431.1fe9e4da@jbarnes-piketon> <201001070024.16703.hanno@hboeck.de> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.18.3; x86_64-pc-linux-gnu) Mime-Version: 1.0 X-Identified-User: {10642:box514.bluehost.com:virtuous:virtuousgeek.org} {sentby:smtp auth 75.111.28.251 authed with jbarnes@virtuousgeek.org} Cc: "intel-gfx@lists.freedesktop.org" Subject: Re: [Intel-gfx] Screen flickering with kernel 2.6.33-rc3 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: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 9187a17..0ab1bef 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -3806,7 +3806,7 @@ static void intel_increase_pllclock(struct drm_crtc *crtc, bool schedule) if (IS_IRONLAKE(dev)) return; - if (!dev_priv->lvds_downclock_avail) + if (!dev_priv->lvds_downclock_avail || 1) return; if (!HAS_PIPE_CXSR(dev) && (dpll & DISPLAY_RATE_SELECT_FPA1)) { @@ -3845,7 +3845,7 @@ static void intel_decrease_pllclock(struct drm_crtc *crtc) if (IS_IRONLAKE(dev)) return; - if (!dev_priv->lvds_downclock_avail) + if (!dev_priv->lvds_downclock_avail || 1) return; /*