Re: [Intel-gfx] [PATCH 06/13] drm/i915: detect hang using per ring hangcheck_score

2013-02-26 Thread Chris Wilson
On Tue, Feb 26, 2013 at 01:05:09PM +0200, Mika Kuoppala wrote: > Add per ring score of possible culprit for gpu hang. If > ring is busy and not waiting, it will get the highest score > across calls to i915_hangcheck_elapsed. This way we are > most likely to find the ring that caused the hang among

[Intel-gfx] [PATCH 06/13] drm/i915: detect hang using per ring hangcheck_score

2013-02-26 Thread Mika Kuoppala
Add per ring score of possible culprit for gpu hang. If ring is busy and not waiting, it will get the highest score across calls to i915_hangcheck_elapsed. This way we are most likely to find the ring that caused the hang among the waiting ones. Signed-off-by: Mika Kuoppala --- drivers/gpu/drm/i