[PATCH i-g-t v3 0/2] tests/intel/gem_ctx_persistence: Wait for context termination
Krzysztof Niemiec
krzysztof.niemiec at intel.com
Wed Nov 27 09:45:26 UTC 2024
In some of the subtests, there is a race condition - if a non-persistent
context is not terminated by the driver before the associated spinner is
ended and probed for status, the status will be incorrectly reported as
completed.
Add a sleep instruction before the assert to give the kernel time to
clean up.
v3:
- Update blocklist for XE in the HAX patch to make the test actually
run.
v2:
- Update the patch description,
- Change the previous expression to a simpler usleep(),
- Add a usleep() call in test_saturated_hostile_all(), as this behavior
is also shown in this subtest.
Krzysztof Niemiec (2):
HAX/DO_NOT_MERGE: Wait for context termination
tests/intel/gem_ctx_persistence: Wait for context termination
tests/intel-ci/fast-feedback.testlist | 4 ++++
tests/intel-ci/xe-fast-feedback.testlist | 4 ++++
tests/intel-ci/xe.blocklist.txt | 1 -
tests/intel/gem_ctx_persistence.c | 6 ++++++
4 files changed, 14 insertions(+), 1 deletion(-)
--
2.45.2
More information about the igt-dev
mailing list