]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2e0472371f87ef6d6eba7a3745918270372fc234
treee6329d7c650581ecee4a9c89ef26908ce857123a
parent31f42ce50ca30d493014af61457710093c09971a
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