From patchwork Wed Nov 10 19:28:37 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Lutomirski X-Patchwork-Id: 316482 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oAB6w9Y2026333 for ; Thu, 11 Nov 2010 06:58:30 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6D3E2A1156 for ; Wed, 10 Nov 2010 22:58:09 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ww0-f43.google.com (mail-ww0-f43.google.com [74.125.82.43]) by gabe.freedesktop.org (Postfix) with ESMTP id 36A3E9ED18 for ; Wed, 10 Nov 2010 11:28:59 -0800 (PST) Received: by wwb29 with SMTP id 29so402739wwb.12 for ; Wed, 10 Nov 2010 11:28:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=ABsV3prKkDfm12vN6UjE/plX1kwHjD8SSjfoNSIVJO8=; b=i6UN+EBf/5ZR01n26JIQnQWXtpDjYJSNNSK7kKUmpJ/aLfxha0O8+Q7XPn4M2pqEnO vq1ajeTioevmy1AgkdNlEqIYfCCPzwmyAtRh8opDohTR37iIO4UwIU179FNwUczvbVG7 Hxf9HIq73OVVGnm+4QkaO77fFYQw+W5mvhYkY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=msz01eIe+F+Dqd55KMeMk4laa80/PN1TfgX1wr8DCaNO+3sACnWjNrgV+oSAny0pkl BYP2zSNpi4vUElXJD8MoWLn9QdP+BhEcf9SfyI/0Hv0UtYN8MlfFvTor4r0tvHtjqnu6 1PzHNyqoHkGOLgTc2uRkZswpwlp/ufY0LR/v8= Received: by 10.216.231.162 with SMTP id l34mr8691042weq.77.1289417337843; Wed, 10 Nov 2010 11:28:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.52.67 with HTTP; Wed, 10 Nov 2010 11:28:37 -0800 (PST) From: Andrew Lutomirski Date: Wed, 10 Nov 2010 14:28:37 -0500 X-Google-Sender-Auth: hqoq3S8C19oTGUVFqQXDLtO0u68 Message-ID: Subject: Severe reproducible nouveau breakage in 2.6.36 (and maybe .35) To: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs X-Mailman-Approved-At: Wed, 10 Nov 2010 22:57:15 -0800 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 11 Nov 2010 06:58:30 +0000 (UTC) diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c index 612fa6d..6823a4d 100644 --- a/drivers/gpu/drm/nouveau/nv50_display.c +++ b/drivers/gpu/drm/nouveau/nv50_display.c @@ -1014,6 +1014,8 @@ nv50_display_irq_hotplug_bh(struct work_struct *work) uint32_t unplug_mask, plug_mask, change_mask; uint32_t hpd0, hpd1 = 0; + printk(KERN_ERR "in nv50_display_irq_hotplug_bh\n"); + hpd0 = nv_rd32(dev, 0xe054) & nv_rd32(dev, 0xe050); if (dev_priv->chipset >= 0x90) hpd1 = nv_rd32(dev, 0xe074) & nv_rd32(dev, 0xe070); @@ -1062,6 +1064,7 @@ nv50_display_irq_hotplug_bh(struct work_struct *work) if (dev_priv->chipset >= 0x90) nv_wr32(dev, 0xe074, nv_rd32(dev, 0xe074)); + printk(KERN_ERR "about to drm_helper_hpd_irq_event\n"); drm_helper_hpd_irq_event(dev); } @@ -1072,6 +1075,7 @@ nv50_display_irq_handler(struct drm_device *dev) uint32_t delayed = 0; if (nv_rd32(dev, NV50_PMC_INTR_0) & NV50_PMC_INTR_0_HOTPLUG) { + printk(KERN_ERR "nv50 got hpd irq\n"); if (!work_pending(&dev_priv->hpd_work)) queue_work(dev_priv->wq, &dev_priv->hpd_work); }