From: Michel =?ISO-8859-1?Q?D=E4nzer?= Subject: Re: [PATCH 1/3] drm/radeon: move ring locking out of reset path Date: Fri, 29 Jun 2012 17:09:00 +0200 Message-ID: <1340982540.3562.204.camel@thor.local> References: <1340981103-3717-1-git-send-email-deathsimple@vodafone.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail.gna.ch (darkcity.gna.ch [195.226.6.51]) by gabe.freedesktop.org (Postfix) with ESMTP id 6EA79A0C63 for ; Fri, 29 Jun 2012 08:09:13 -0700 (PDT) In-Reply-To: <1340981103-3717-1-git-send-email-deathsimple@vodafone.de> 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: Christian =?ISO-8859-1?Q?K=F6nig?= Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Fre, 2012-06-29 at 16:45 +0200, Christian K=F6nig wrote: = > Hold the ring lock the whole time the reset is in progress, > otherwise another process can submit new jobs. Sounds good, but doesn't this create other paths (e.g. initialization, resume) where the ring is being accessed without holding the lock? Isn't that a problem? -- = Earthling Michel D=E4nzer | http://www.amd.com Libre software enthusiast | Debian, X and DRI developer