$ : time sudo -E ./kms_flip --r 2x-vblank-vs-suspend IGT-Version: 1.19-gf9e0154 (x86_64) (Linux: 4.13.0-drm-tip-ww37-commit-14ea1a9+ x86_64) Using monotonic timestamps Beginning 2x-vblank-vs-suspend on pipe A:B, connector eDP-1:DP-1 1920x1080 60 1920 1936 1952 2104 1080 1083 1097 1116 0xa 0x48 141000 1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Sep 11 19:54:00 2017 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Sep 11 19:54:18 2017 (kms_flip:1491) CRITICAL: Test assertion failure function check_state, file kms_flip.c:508: (kms_flip:1491) CRITICAL: Failed assertion: es->current_seq - es->last_seq <= 150 (kms_flip:1491) CRITICAL: unexpected vblank seq 12697, should be < 12626 Stack trace: #0 [__igt_fail_assert+0x101] #1 [check_state+0x331] #2 [+0x331] Subtest 2x-vblank-vs-suspend failed. **** DEBUG **** (kms_flip:1491) DEBUG: Test requirement passed: (flags & TEST_HANG) == 0 || !is_wedged(drm_fd) (kms_flip:1491) DEBUG: Test requirement passed: modes (kms_flip:1491) INFO: Beginning 2x-vblank-vs-suspend on pipe A:B, connector eDP-1:DP-1 (kms_flip:1491) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0) (kms_flip:1491) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680) (kms_flip:1491) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0) (kms_flip:1491) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3, pitch=7680) (kms_flip:1491) igt-kms-INFO: 1920x1080 60 1920 1936 1952 2104 1080 1083 1097 1116 0xa 0x48 141000 (kms_flip:1491) igt-kms-INFO: 1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500 (kms_flip:1491) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (kms_flip:1491) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (kms_flip:1491) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (kms_flip:1491) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (kms_flip:1491) igt-aux-DEBUG: Test requirement passed: ret == 0 (kms_flip:1491) DEBUG: name = vblank last_ts = 0.000000 last_received_ts = 0.000000 last_seq = 0 current_ts = 213.014533 current_received_ts = 217.260701 current_seq = 12476 count = 0 seq_step = 10 (kms_flip:1491) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (kms_flip:1491) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (kms_flip:1491) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (kms_flip:1491) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (kms_flip:1491) igt-aux-DEBUG: Test requirement passed: ret == 0 (kms_flip:1491) DEBUG: name = vblank last_ts = 213.014533 last_received_ts = 217.260701 last_seq = 12476 current_ts = 217.415260 current_received_ts = 221.105899 current_seq = 12697 count = 1 seq_step = 10 (kms_flip:1491) CRITICAL: Test assertion failure function check_state, file kms_flip.c:508: (kms_flip:1491) CRITICAL: Failed assertion: es->current_seq - es->last_seq <= 150 (kms_flip:1491) CRITICAL: unexpected vblank seq 12697, should be < 12626 (kms_flip:1491) igt-core-INFO: Stack trace: (kms_flip:1491) igt-core-INFO: #0 [__igt_fail_assert+0x101] (kms_flip:1491) igt-core-INFO: #1 [check_state+0x331] (kms_flip:1491) igt-core-INFO: #2 [+0x331] **** END **** Subtest 2x-vblank-vs-suspend: FAIL (9.389s) real 0m38.403s user 0m0.050s sys 0m0.306s $ : time sudo -E ./kms_flip --r 2x-vblank-vs-suspend-interruptible IGT-Version: 1.19-gf9e0154 (x86_64) (Linux: 4.13.0-drm-tip-ww37-commit-14ea1a9+ x86_64) Using monotonic timestamps Beginning 2x-vblank-vs-suspend-interruptible on pipe A:B, connector eDP-1:DP-1 1920x1080 60 1920 1936 1952 2104 1080 1083 1097 1116 0xa 0x48 141000 1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Sep 11 19:56:18 2017 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Sep 11 19:56:36 2017 (kms_flip:1569) CRITICAL: Test assertion failure function check_state, file kms_flip.c:508: (kms_flip:1569) CRITICAL: Failed assertion: es->current_seq - es->last_seq <= 150 (kms_flip:1569) CRITICAL: Last errno: 4, Interrupted system call (kms_flip:1569) CRITICAL: unexpected vblank seq 19067, should be < 19059 Stack trace: #0 [__igt_fail_assert+0x101] #1 [check_state+0x331] #2 [+0x331] Subtest 2x-vblank-vs-suspend-interruptible failed. **** DEBUG **** (kms_flip:1569) DEBUG: Test requirement passed: (flags & TEST_HANG) == 0 || !is_wedged(drm_fd) (kms_flip:1569) DEBUG: Test requirement passed: modes (kms_flip:1569) INFO: Beginning 2x-vblank-vs-suspend-interruptible on pipe A:B, connector eDP-1:DP-1 (kms_flip:1569) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0) (kms_flip:1569) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680) (kms_flip:1569) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0) (kms_flip:1569) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3, pitch=7680) (kms_flip:1569) igt-kms-INFO: 1920x1080 60 1920 1936 1952 2104 1080 1083 1097 1116 0xa 0x48 141000 (kms_flip:1569) igt-kms-INFO: 1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500 (kms_flip:1569) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (kms_flip:1569) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (kms_flip:1569) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (kms_flip:1569) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (kms_flip:1569) igt-aux-DEBUG: Test requirement passed: ret == 0 (kms_flip:1569) DEBUG: name = vblank last_ts = 0.000000 last_received_ts = 0.000000 last_seq = 0 current_ts = 323.223185 current_received_ts = 326.397943 current_seq = 18909 count = 0 seq_step = 10 (kms_flip:1569) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (kms_flip:1569) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (kms_flip:1569) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (kms_flip:1569) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (kms_flip:1569) igt-aux-DEBUG: Test requirement passed: ret == 0 (kms_flip:1569) DEBUG: name = vblank last_ts = 323.223185 last_received_ts = 326.397943 last_seq = 18909 current_ts = 326.553204 current_received_ts = 329.858648 current_seq = 19067 count = 1 seq_step = 10 (kms_flip:1569) CRITICAL: Test assertion failure function check_state, file kms_flip.c:508: (kms_flip:1569) CRITICAL: Failed assertion: es->current_seq - es->last_seq <= 150 (kms_flip:1569) CRITICAL: Last errno: 4, Interrupted system call (kms_flip:1569) CRITICAL: unexpected vblank seq 19067, should be < 19059 (kms_flip:1569) igt-core-INFO: Stack trace: (kms_flip:1569) igt-core-INFO: #0 [__igt_fail_assert+0x101] (kms_flip:1569) igt-core-INFO: #1 [check_state+0x331] (kms_flip:1569) igt-core-INFO: #2 [+0x331] **** END **** Subtest 2x-vblank-vs-suspend-interruptible: FAIL (7.917s) real 0m38.160s user 0m0.055s sys 0m0.297s