diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-02-09 10:35:54 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-02-13 09:00:19 +0000 |
commit | 7a02d3056fe93fd2ddd2986f7d3db5f384ee22a0 (patch) | |
tree | 84f3116b26e48447e8bda918fdd5c2ce096904df /overlay | |
parent | f8d6fa4fa04103b027430f960f2c55d24c4a9600 (diff) |
lib: force a reset on an uncooperative i915 device
Try to reset the GPU from within igt_require_gem() if we notice we are
starting with a wedged device. If it remains wedged, the test definitely
cannot run. We leave a warning in place to highlight the potentially
suspect result, which will keep the flip-flops alive in CI!
v2: Split out device reset to avoid reusing a local variable
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Antonio Argenziano <antonio.argenziano@intel.com>
Diffstat (limited to 'overlay')
0 files changed, 0 insertions, 0 deletions