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

Eugeni Dodonov eugeni at dodonov.net
Fri Nov 4 17:42:01 CET 2011


On Fri, Nov 4, 2011 at 14:31, Chris Wilson <chris at chris-wilson.co.uk> wrote:

> On Fri, 4 Nov 2011 14:23:19 -0200, Eugeni Dodonov <eugeni at dodonov.net>
> wrote:
> > 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.
>
> intel_gpu_dump or perchance reading the code ;-)
>

I mean, I am using it in a combination with the intel_gpu_dump, based on
the original idea which came from
http://comments.gmane.org/gmane.comp.freedesktop.xorg.drivers.intel/6408,
only outside of the real intel_decode routine.

But yes, reading the code is the best way, the overall idea here is to at
least indicate which code to read in the first place (kernel or ddx or mesa
or va or....) :).

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


More information about the Intel-gfx mailing list