From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Peres Subject: Re: [RFC PATCH 5/5] drm/nouveau: gpu lockup recovery Date: Mon, 23 Apr 2012 10:43:08 +0200 Message-ID: <4F95161C.9070403@free.fr> References: <1335133112-8008-5-git-send-email-marcin.slusarz@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by gabe.freedesktop.org (Postfix) with ESMTP id 81D299E803 for ; Mon, 23 Apr 2012 01:47:12 -0700 (PDT) Received: from [147.210.128.112] (laptop-147-210-128-112.labri.fr [147.210.128.112]) (Authenticated sender: martin.peres) by smtp6-g21.free.fr (Postfix) with ESMTPA id ABDD382352 for ; Mon, 23 Apr 2012 10:47:07 +0200 (CEST) In-Reply-To: <1335133112-8008-5-git-send-email-marcin.slusarz@gmail.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: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org Le 23/04/2012 00:18, Marcin Slusarz a =E9crit : > Overall idea: > Detect lockups by watching for timeouts (vm flush / fence), return -EIOs, > handle them at ioctl level, reset the GPU and repeat last ioctl. > > GPU reset is done by doing suspend / resume cycle with few tweaks: > - CPU-only bo eviction > - ignoring vm flush / fence timeouts > - shortening waits > > Signed-off-by: Marcin Slusarz > --- > Tested only on nv92. Hi Marcin, I'm really busy at the moment but I'm glad to see such patches coming out. I'll try them out ASAP! Do you have a recommended way to test your patch set? Thanks, Martin