diff options
author | Jason Ekstrand <[email protected]> | 2017-05-18 13:51:16 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-05-18 16:32:11 -0700 |
commit | c499faebd77d1d9656774406fe259cd5369af12c (patch) | |
tree | 439418e8a6ad473007171240bde0b4976a5ddd66 /.dir-locals.el | |
parent | 53f997de77357cd5fbeca3d167729793d188aab6 (diff) |
anv: Add an option to abort on device loss
This is mostly for running in our CI system to prevent dEQP from
continuing on to the next test if we get a GPU hang. As it currently
stands, dEQP uses the same VkDevice for almost all tests and if one of
the tests hangs, we set the anv_device::device_lost flag and report
VK_ERROR_DEVICE_LOST for all queue operations from that point forward
without sending anything to the GPU. dEQP will happily continue trying
to run tests and reporting failures until it eventually gets crash that
forces the test runner to start over. This circumvents the problem by
just aborting the process if we ever get a GPU hang. Since this is not
the recommended behavior most of the time, we hide it behind an
environment variable.
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions