commit | 4f082c35d2df545f81d202ae1a08463f6c123552 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri Sep 08 13:48:05 2017 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Mon Sep 11 12:06:51 2017 +0100 |
tree | 16b4a53dfeb8c178f0fcb254303d5f0f3ad7ea96 | |
parent | 20631542ebb3f32c9d00ba0c251e08e54a73f1fd [diff] |
igt/gem_eio: Install an exithandler to unwedge the device after failure Under normal conditions, we try to repair the damage we inflict to the GPU, but if we fail we don't. Make sure that if the test does die, we do try to restore normal operation by using an atexit handler. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102616 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>