drm/i915: Assert that the active request hasn't been signaled
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 12 Feb 2017 17:19:58 +0000 (17:19 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 11:06:35 +0000 (11:06 +0000)
commitc00122f33fe65c00103330e9f85dd2d3a63a3d2c
tree3276fd2bfa380908aab36339ef2502eb07c863cf
parentae9a043b0c5b0d90dcd9fb8b3a2d27f34f0725fc
drm/i915: Assert that the active request hasn't been signaled

As the request is not complete, it should not be signaled. Assert that
this is true before we process the request for a reset.

References: https://bugs.freedesktop.org/show_bug.cgi?id=99671
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170212172002.23072-1-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
drivers/gpu/drm/i915/i915_gem.c