tests/kms_flip: Increase TEST_TS_CONT max seq difference to 150

During suspend tests we can exceed the current 100 frame difference
in sequence numbers. Bump the limit to 150 frames.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
This commit is contained in:
Ville Syrjälä 2015-12-14 00:54:33 +02:00
parent 39aecb05d5
commit f1bb20eb7c

View File

@ -674,9 +674,9 @@ static void check_state(struct test_output *o, struct event_state *es)
igt_assert_f(es->current_seq - es->last_seq >= 0,
"unexpected %s seq %u, should be >= %u\n",
es->name, es->current_seq, es->last_seq);
igt_assert_f(es->current_seq - es->last_seq <= 100,
igt_assert_f(es->current_seq - es->last_seq <= 150,
"unexpected %s seq %u, should be < %u\n",
es->name, es->current_seq, es->last_seq + 100);
es->name, es->current_seq, es->last_seq + 150);
igt_debug("testing ts continuity: Current frame %u, old frame %u\n",
es->current_seq, es->last_seq);