From: Chris Wilson Subject: Re: [PATCH v3] drm/i915: Rework GPU reset sequence to match driver load & thaw Date: Wed, 20 Aug 2014 16:56:41 +0100 Message-ID: <20140820155641.GF12830@nuc-i3427.alporthouse.com> References: <8761ht7kiq.fsf@gaia.fi.intel.com> <1408125095-10699-1-git-send-email-alistair.mcaulay@intel.com> <20140820145826.GD12830@nuc-i3427.alporthouse.com> <2F6A3166A8653C4D914E172D478C0F012E4FF8A9@IRSMSX105.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from fireflyinternet.com (mail.fireflyinternet.com [87.106.93.118]) by gabe.freedesktop.org (Postfix) with ESMTP id 415DE89F43 for ; Wed, 20 Aug 2014 08:56:46 -0700 (PDT) Content-Disposition: inline In-Reply-To: <2F6A3166A8653C4D914E172D478C0F012E4FF8A9@IRSMSX105.ger.corp.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: "Mcaulay, Alistair" Cc: "intel-gfx@lists.freedesktop.org" List-Id: intel-gfx@lists.freedesktop.org On Wed, Aug 20, 2014 at 03:21:55PM +0000, Mcaulay, Alistair wrote: > It is not the same. This is a special case when re-initialising the hw. This flag is to allow gem_init_hw() to complete successfully during reset. > At any other point during reset, -EAGAIN should be returned. Indeed. You've missed the point. Look closer at the reset counter and reset ordering. -Chris -- Chris Wilson, Intel Open Source Technology Centre