[PATCH i-g-t 0/3] tests/i915/kms_flip_tiling: Fix timeouts with low vrefresh modes

Imre Deak imre.deak at intel.com
Tue Oct 22 15:53:08 UTC 2024


This patchset fixes the following timeout failure, when using modes with
a low (<60Hz) vrefresh rate:

(kms_flip_tiling:3623) igt_kms-CRITICAL: Test assertion failure function kmstest_wait_for_pageflip, file ../../../usr/src/igt-gpu-tools/lib/igt_kms.c:2363:
(kms_flip_tiling:3623) igt_kms-CRITICAL: Failed assertion: !(ret == 0)
(kms_flip_tiling:3623) igt_kms-CRITICAL: Exceeded timeout (50ms) while waiting for a pageflip

Imre Deak (3):
  lib/igt_kms: Add igt_kms_frame_time_from_vrefresh()
  lib/igt_kms: Add kmstest_wait_for_pageflip_timeout()
  tests/i915/kms_flip_tiling: Fix pageflip timeout for low vrefresh
    modes

 lib/igt_kms.c                 | 33 +++++++++++++++++++++++++++----
 lib/igt_kms.h                 |  3 +++
 tests/intel/kms_flip_tiling.c | 14 ++++++++++++-
 tests/kms_vrr.c               | 37 ++++++++++++++++-------------------
 4 files changed, 62 insertions(+), 25 deletions(-)

-- 
2.44.2



More information about the igt-dev mailing list