[Intel-gfx] [PATCH 3/3] [RFC] drm/i915: add interface to simulate gpu hangs

Eugeni Dodonov eugeni at dodonov.net
Fri Nov 4 17:23:19 CET 2011


On Thu, Nov 3, 2011 at 14:10, Daniel Vetter <daniel at ffwll.ch> wrote:

> On Thu, Nov 03, 2011 at 01:56:11PM -0200, Eugeni Dodonov wrote:
> > Could be handy for debugging, I like it.
>
> Have you tried actually blowing up your gpu with it? That's where the fun
> starts ;-) My gpu-hanger branch contains the latest iteration of this
> idea:
>
> http://cgit.freedesktop.org/~danvet/drm/log/?h=gpu-hanger
>
>
Yep, it works for me. I can disable and enable rings at will by echo [01] >
/sys/kernel/debug/dri/0/i915_ring_stop

I was using it for working further on that i915_error_state heuristics
idea, outside of intel_decode. It is *very* handy to discover specific
patterns in error_state's.

-- 
Eugeni Dodonov
<http://eugeni.dodonov.net/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20111104/00a28ea4/attachment.html>


More information about the Intel-gfx mailing list