Hi all, In the light of the recent oops in the error state code I've resurrected my gpu hangman and brushed it up a bit. Together with the hangman check in i-g-t (which now also works a bit more reliable) we'll have a basic test of our hangcheck, reset and error state infrastructure. Comments, flames and excessively-painted bikesheds highly welcome. Cheers, Daniel Daniel Vetter (6): drm/i915: add interface to simulate gpu hangs drm/i915: rework dev->first_error locking drm/i915: destroy existing error_state when simulating a gpu hang drm/i915: simplify i915_reset a bit drm/i915: extract i915_do_reset drm/i915: make gpu hangman more resilient drivers/gpu/drm/i915/i915_debugfs.c | 80 +++++++++++++++++++++++++++++-- drivers/gpu/drm/i915/i915_drv.c | 75 +++++++++++++++++------------ drivers/gpu/drm/i915/i915_drv.h | 6 ++ drivers/gpu/drm/i915/i915_irq.c | 12 +++-- drivers/gpu/drm/i915/intel_ringbuffer.c | 4 ++ 5 files changed, 137 insertions(+), 40 deletions(-) -- 1.7.9