drm/i915: Complete pending resets before get-reset-stats ioctl
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 13 May 2016 10:57:20 +0000 (11:57 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 13 May 2016 11:38:52 +0000 (12:38 +0100)
commitbdb04614d8461c781801afe074b1a1c766135c30
treee6329d7c650581ecee4a9c89ef26908ce857123a
parentd538704ba0afdb5fc5b91be0b91e82fd19ad1707
drm/i915: Complete pending resets before get-reset-stats ioctl

The get-reset-stats ioctls wasn't waiting for a pending reset before
reporting its statistics, and so was ignoring a hang generated by the
context that should have been reported against said context.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Tested-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1463137042-9669-2-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_context.c
This page took 0.026459 seconds and 5 git commands to generate.