[igt-dev] [PATCH i-g-t v3 0/4] Add absolute user fence timeout

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Mon Jun 19 05:32:46 UTC 2023


According to kernel proposal:
	https://patchwork.freedesktop.org/series/118670/

add abstime and change relative to use nanoseconds instead of jiffies.

v2: separate changes for reltime and abstime (Kamil)
    change abstime timeout behavior to stay intact (Chris)
v3: use int64_t instead long to avoid being truncate on 32bit archs (Kamil)

Zbigniew Kempczyński (4):
  lib/xe_ioctl: Add xe_wait_ufence_abstime() helper
  lib/xe_ioctl: Return remaining timeout of user fence wait
  tests/xe_waitfence: Rename vague subtest name "test" to reltime
  tests/xe_waitfence: Add abstime subtest for user fence

 lib/xe/xe_ioctl.c                        | 43 ++++++++++++++++++++--
 lib/xe/xe_ioctl.h                        |  9 +++--
 tests/intel-ci/xe-fast-feedback.testlist |  2 +-
 tests/xe/xe_waitfence.c                  | 45 ++++++++++++++++++++----
 4 files changed, 86 insertions(+), 13 deletions(-)

-- 
2.34.1



More information about the igt-dev mailing list