From patchwork Tue Jun 21 16:55:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Barnes X-Patchwork-Id: 902642 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p5LGtvVP003784 for ; Tue, 21 Jun 2011 16:56:18 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E70A09F6A5 for ; Tue, 21 Jun 2011 09:55:56 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from oproxy1-pub.bluehost.com (oproxy1-pub.bluehost.com [66.147.249.253]) by gabe.freedesktop.org (Postfix) with SMTP id 5335D9E9CD for ; Tue, 21 Jun 2011 09:55:35 -0700 (PDT) Received: (qmail 10049 invoked by uid 0); 21 Jun 2011 16:55:34 -0000 Received: from unknown (HELO box514.bluehost.com) (74.220.219.114) by cpoproxy1.bluehost.com with SMTP; 21 Jun 2011 16:55:34 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=virtuousgeek.org; h=Received:Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding:X-Identified-User; b=dBpdxKzAcoWIBdxBcGIq8zOqzt7Z8Rz+y94lFGuhyxHtdCn3wap+bODAsN2pU5MIN2wND76IDvN3Mu4L/jXLx4j7YI6JWdL4gQlTn3BXMJwh0qDQU9Z/PfNbPXYfrTbl; Received: from c-67-161-37-189.hsd1.ca.comcast.net ([67.161.37.189] helo=jbarnes-desktop) by box514.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1QZ4Eg-0007HF-9a; Tue, 21 Jun 2011 10:55:34 -0600 Date: Tue, 21 Jun 2011 09:55:27 -0700 From: Jesse Barnes To: "Nicolas Kalkhof" Message-ID: <20110621095527.2ea996ee@jbarnes-desktop> In-Reply-To: <454869881.2698882.1308672776546.JavaMail.fmail@mwmweb017> References: <454869881.2698882.1308672776546.JavaMail.fmail@mwmweb017> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.22.0; x86_64-pc-linux-gnu) Mime-Version: 1.0 X-Identified-User: {10642:box514.bluehost.com:virtuous:virtuousgeek.org} {sentby:smtp auth 67.161.37.189 authed with jbarnes@virtuousgeek.org} Cc: intel-gfx@lists.freedesktop.org Subject: Re: [Intel-gfx] gen6 (SNB) GPU still stalling besides latest patches X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Tue, 21 Jun 2011 16:56:18 +0000 (UTC) On Tue, 21 Jun 2011 18:12:56 +0200 (CEST) "Nicolas Kalkhof" wrote: > Hi Jesse, > > thanks for the infiormation. I've switched rc6 off by > echo 0 > /sys/module/i915/parameters/i915_enable_rc6 > this should do it, right? > cat /sys/module/i915/parameters/i915_enable_rc6 yields "0" > > Are you referring to this patch? https://lkml.org/lkml/2011/6/17/371 > It should be included in kernel 3.0-rc4 and didn't help here :( So there are actually a few things that could go wrong in this area. The problem may be RC6 related, but it could also be turbo related (our GPU frequency adjustment code). Can you boot without the module parameter and try this patch and see what happens (after a cold boot)? Thanks, Jesse diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_d index 81a9059..3c589cb 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -7788,9 +7788,6 @@ void intel_modeset_init(struct drm_device *dev) intel_init_emon(dev); } - if (IS_GEN6(dev)) - gen6_enable_rps(dev_priv); - INIT_WORK(&dev_priv->idle_work, intel_idle_update); setup_timer(&dev_priv->idle_timer, intel_gpu_idle_timer, (unsigned long)dev);