Skip to content

tests/i915/kms_flip_tiling: Fix timeouts with low vrefresh modes

Imre Deak igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib/igt_kms: Add igt_kms_frame_time_from_vrefresh()lib/igt_kms.c lib/igt_kms.h tests/kms_vrr.c+31 -202 replies
2/3lib/igt_kms: Add kmstest_wait_for_pageflip_timeout()lib/igt_kms.c lib/igt_kms.h+18 -43 replies
3/3tests/i915/kms_flip_tiling: Fix pageflip timeout for low vrefresh modestests/intel/kms_flip_tiling.c+13 -14 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSwati Sharma
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.44.2