From: Chris Wilson Subject: Re: [PATCH 04/13] drm/i915: track ring progression using seqnos Date: Tue, 26 Feb 2013 14:12:29 +0000 Message-ID: <20130226141229.GA32307@cantiga.alporthouse.com> References: <1361876716-8625-1-git-send-email-mika.kuoppala@intel.com> <1361876716-8625-5-git-send-email-mika.kuoppala@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 040BDE63BA for ; Tue, 26 Feb 2013 06:12:39 -0800 (PST) Content-Disposition: inline In-Reply-To: <1361876716-8625-5-git-send-email-mika.kuoppala@intel.com> 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: Mika Kuoppala Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, Feb 26, 2013 at 01:05:07PM +0200, Mika Kuoppala wrote: > Instead of relying in acthd, track ring seqno progression > to detect if ring has hung. This needs a comment that it has a user visible side-effect of limiting batches to a maximum of 1.5s runtime. Before, that limit was softer in that we had a chance to spot that the GPU was busy - even if we could be fooled by an infinite loop. Did you write an i-g-t for detecting a ring of chained batchbuffers? -Chris -- Chris Wilson, Intel Open Source Technology Centre