drm/i915: Mark manually wedged engines as guilty
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 25 Mar 2017 13:47:35 +0000 (13:47 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 27 Mar 2017 14:36:10 +0000 (15:36 +0100)
commit598b6b5ada3f8a3ecd7bd821f7df87ca8ea0f053
treefcbc471ca49b04f3dd804a95c384aa96ea041045
parented1501d45136da125a89b1a5728a783564e6491f
drm/i915: Mark manually wedged engines as guilty

Use the incoming value from debugfs/i915_wedged to select which engines
to marked as guilty in order to force us to reset those requests
(required to quickly bypass simulated hangs).

Testcase: igt/gem_exec_capture
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170325134735.30581-1-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
drivers/gpu/drm/i915/i915_debugfs.c