[RFC PATCH 5/5] drm/nouveau: gpu lockup recovery
marcin.slusarz at gmail.com
Mon Apr 23 09:32:57 PDT 2012
On Mon, Apr 23, 2012 at 10:43:08AM +0200, Martin Peres wrote:
> Le 23/04/2012 00:18, Marcin Slusarz a écrit :
> > 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<marcin.slusarz at gmail.com>
> > ---
> > 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?
Just run piglit. Even "quick" tests can cause ~5 lockups (it eventually messes
up DDX channel, but this patchset can't fix this case).
You can run fs-discard-exit-2 test first - for me it causes instant GPU lockup.
More information about the dri-devel