diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2018-03-29 14:05:27 +0100 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2018-04-03 16:39:57 +0100 |
commit | 3df3dcf6fca6174c9dad49f37f019ce50aaf2885 (patch) | |
tree | 1c9a3a013f9a2917796efe3e414dde3def2095d3 /tools | |
parent | da00bf83aba3b516922efa1f338381189461aa4a (diff) |
tests/gem_eio: Never re-use contexts which were in the middle of GPU reset
Contexts executing when reset triggers are potentialy corrupt so trying to
use them from a subsequent test (like the default context) can hang the
GPU or even the driver.
Workaround that by always creating a dedicated context which will be
running when GPU reset happens.
v2:
* Export and use gem_reopen_device so the test works on old gens as well.
(Chris Wilson)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions