From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: [PATCH] drm/i915: don't set unpin_work if vblank_get fails Date: Mon, 29 Aug 2011 09:44:52 -0700 Message-ID: <20110829094452.7a5adf03@jbarnes-desktop> References: <20110822110531.57d85c32@jbarnes-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from oproxy9.bluehost.com (oproxy9.bluehost.com [69.89.24.6]) by gabe.freedesktop.org (Postfix) with SMTP id 417BA9E752 for ; Mon, 29 Aug 2011 09:45:01 -0700 (PDT) In-Reply-To: <20110822110531.57d85c32@jbarnes-desktop> 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: Jesse Barnes Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Mon, 22 Aug 2011 11:05:31 -0700 Jesse Barnes wrote: > This fixes a race where we may try to finish a page flip and decrement > the refcount even if our vblank_get failed and we ended up with a > spurious flip pending interrupt. > > Fixes https://bugs.freedesktop.org/show_bug.cgi?id=34211. > > Signed-off-by: Jesse Barnes Updated patch. Though now I've lost track of the outstanding issues... IIRC we still have another race here, but it's unrelated to the one in the bug report. Jesse