From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Widawsky Subject: Re: [PATCH] drm/i915: Fix rps irq warning Date: Sun, 4 Sep 2011 08:49:53 -0700 Message-ID: <20110904084953.16cd10a2@bwidawsk.net> References: <1315106655-26782-1-git-send-email-ben@bwidawsk.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cloud01.chad-versace.us (184-106-247-128.static.cloud-ips.com [184.106.247.128]) by gabe.freedesktop.org (Postfix) with ESMTP id 873289E7FB for ; Sun, 4 Sep 2011 08:49:39 -0700 (PDT) In-Reply-To: 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 On Sun, 04 Sep 2011 10:03:21 +0100 Chris Wilson wrote: > On Sat, 3 Sep 2011 20:24:15 -0700, Ben Widawsky > wrote: > > I couldn't reproduce this one, but... Interrupt mask state is lost > > if three interrupts occur before the workqueue has run. > > > > Should be straight forward to reproduce even without SMP. I'm pretty > > sure Dan Vetter was trying to explain this to me, and I couldn't > > get it. My solution I think is different than his though. > > This logic is now duplicated in ivybridge_irq_handler(). This simply > fits the scenario Daniel described, whilst also fitting in with our > understanding of IMR, IER and IIR. (A big assumption ;-) > > Reported-by: Soeren Sonnenburg > Reviewed-by: Chris Wilson > -Chris > I completely screwed this one up because I was tired. Chris sent me this exact patch, which I told him was wrong, and then proceeded to rewrite the same thing on my own. Chris, I suggest you resubmit what you sent me privately with my reviewed by, and please accept my apology. I am nak'ing my patch. Ben