From: Chris Wilson Subject: Re: [PATCH v2 0/7] xfree86: Handle drm race condition Date: Tue, 19 Mar 2013 21:13:27 +0000 Message-ID: <20130319211327.GF3872@cantiga.alporthouse.com> References: <1363639911-21239-1-git-send-email-bryce@canonical.com> <20130319092146.GC3872@cantiga.alporthouse.com> <514837A6.5010301@canonical.com> <20130319102707.GD3872@cantiga.alporthouse.com> <51484307.3040906@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <51484307.3040906@canonical.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Maarten Lankhorst Cc: "X.Org Devel List" , intel-gfx@lists.freedesktop.org, "dri-devel@lists.freedesktop.org" List-Id: dri-devel@lists.freedesktop.org On Tue, Mar 19, 2013 at 11:50:47AM +0100, Maarten Lankhorst wrote: > The drmSetMaster call is needed, but the spinning is really just waiting for the workqueue to run. > > bryce's patch never worked, it just caused it to try drmsetinterfaceversion for a few seconds before timing out. That call > was failing because his patch series never tried to obtain drm master. You missed that the series Bryce posted did contain the drmSetMaster() call inside the loop to retry drmSetVersion(). :) Your explanation as to why the delay is required is certainly intriguing. Thanks, -Chris -- Chris Wilson, Intel Open Source Technology Centre