Hi, This patchset adds ioctl and related changes to allow userspace to query about the context loss status of the specified context. The aim is to provide enabler for the ARB_Robustness GL extension. I post this as RFC to get ack/nack on the interface. The interface is in 0004-drm-i915-add-i915_get_reset_status_ioctl.patch Also any feedback on the other parts of the patchset is most welcomed. The i-g-t testcase can be found here: https://github.com/mkuoppal/intel-gpu-tools/commits/arb-robustness Thanks, --Mika Mika Kuoppala (7): drm/i915: detect infinite loops in hang check drm/i915: add struct i915_reset_stats drm/i915: add reset_status for hw_contexts drm/i915: add i915_get_reset_status_ioctl drm/i915: add batch object and context to i915_add_request() drm/i915: reference count for i915_hw_contexts drm/i915: find guilty batch buffer on ring resets drivers/gpu/drm/i915/i915_dma.c | 3 +- drivers/gpu/drm/i915/i915_drv.c | 42 +++++++++ drivers/gpu/drm/i915/i915_drv.h | 41 +++++++-- drivers/gpu/drm/i915/i915_gem.c | 119 ++++++++++++++++++++++++-- drivers/gpu/drm/i915/i915_gem_context.c | 66 +++++++++++++-- drivers/gpu/drm/i915/i915_gem_execbuffer.c | 11 ++- drivers/gpu/drm/i915/i915_irq.c | 127 ++++++++++++++-------------- drivers/gpu/drm/i915/intel_overlay.c | 5 +- drivers/gpu/drm/i915/intel_ringbuffer.c | 2 +- drivers/gpu/drm/i915/intel_ringbuffer.h | 4 + include/uapi/drm/i915_drm.h | 19 +++++ 11 files changed, 351 insertions(+), 88 deletions(-) -- 1.7.9.5