[Intel-gfx] [PATCH v2 3/3] drm/i915: Clean up GPU hang message

Chris Wilson chris at chris-wilson.co.uk
Mon Dec 14 05:45:08 PST 2015


On Mon, Dec 14, 2015 at 11:39:47AM +0000, Chris Wilson wrote:
> On Mon, Dec 14, 2015 at 11:28:39AM +0000, Dave Gordon wrote:
> > If this is a test that has disabled error state
> > capture (because it's *trying* to hang one or more rings) can we
> > still know how many rings have been diagnosed as hung?
> 
> If you have a use case, then you can look at the interface you require.
> i915_hangcheck_info should be sufficient in most cases, or at least a
> good starting point. But you may want a more specific debugfs to avoid
> parsing.

Gah, even better is just to use the reset-stats ioctl!
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list