aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-03-16 17:13:04 +0000
committerChris Wilson <[email protected]>2017-03-16 17:17:14 +0000
commit2e8f9d322948406fb3aa0b27bda4d40a34e57123 (patch)
treeaf660de71026f8024439e42a5351abe455db7f2e /scripts/gcc-plugins/cyc_complexity_plugin.c
parentff44ad51ebf8e4693bd66ae41aa37a6bc88a134f (diff)
drm/i915: Restore engine->submit_request before unwedging
When we wedge the device, we override engine->submit_request with a nop to ensure that all in-flight requests are marked in error. However, igt would like to unwedge the device to test -EIO handling. This requires us to flush those in-flight requests and restore the original engine->submit_request. v2: Use a vfunc to unify enabling request submission to engines v3: Split new vfunc to a separate patch. v4: Make the wait interruptible -- the third party fences we wait upon may be indefinitely broken, so allow the reset to be aborted. Fixes: 821ed7df6e2a ("drm/i915: Update reset path to fix incomplete requests") Testcase: igt/gem_eio Signed-off-by: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Cc: Mika Kuoppala <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> #v3 Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions