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

Krzysztof Niemiec krzysztof.niemiec at intel.com
Mon Nov 18 12:44:20 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/

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

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

-- 
2.45.2



More information about the igt-dev mailing list