[PATCH i-g-t v2 0/2] tests/syncobj_wait: Update invalid-wait-zero-handles test

Krzysztof Niemiec krzysztof.niemiec at intel.com
Wed Nov 20 10:35:05 UTC 2024


The behavior of DRM_IOCTL_SYNCOBJ_TIMELINE_WAIT has been changed in [1]
to accept empty lists of syncobj handles, but the
invalid-wait-zero-handles test has not been updated to mirror this
change. Fix the assert to check against 0 instead of -EINVAL, and rename
the test to wait-zero-handles as this is no longer an invalid scenario.

This change mirrors [2] for the syncobj_wait test.

[1] https://patchwork.freedesktop.org/patch/554042/
[2] https://patchwork.freedesktop.org/patch/618483/

v2:
 - Update blocklist for XE in the HAX patch to make the test actually
   run.

Krzysztof Niemiec (2):
  HAX/DO_NOT_MERGE: Add wait-zero-handles to fast feedback list
  tests/syncobj_wait: Update invalid-wait-zero-handles test

 tests/intel-ci/fast-feedback.testlist    | 2 ++
 tests/intel-ci/xe-fast-feedback.testlist | 2 ++
 tests/intel-ci/xe.blocklist.txt          | 1 -
 tests/syncobj_wait.c                     | 8 ++++----
 4 files changed, 8 insertions(+), 5 deletions(-)

-- 
2.45.2



More information about the igt-dev mailing list