summaryrefslogtreecommitdiff
path: root/tests/kms_flip.c
diff options
context:
space:
mode:
authorRodrigo Siqueira <rodrigosiqueiramelo@gmail.com>2019-03-04 12:30:01 -0300
committerRodrigo Siqueira <rodrigosiqueiramelo@gmail.com>2019-03-12 09:00:53 -0300
commitd59b17ca808f064ff5b2c01b212415f22aea9d8f (patch)
tree32020bcf481e8272dcd6f5cefeffa2425349c429 /tests/kms_flip.c
parent1ddba466345cdb9724c9e88ee5564313511fe702 (diff)
kms_flip: Removes unreachable code related to TEST_TS_CONT
This commit removes the code related to TEST_TS_CONT test because the kms_flip never sets this flags, i.e., TEST_TS_CONT is not used. Take a look at commit 07a3fccf to see why this flag is never set. Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'tests/kms_flip.c')
-rwxr-xr-xtests/kms_flip.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index 2a521dd0..c6297a31 100755
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -69,7 +69,6 @@
#define TEST_FENCE_STRESS (1 << 23)
#define TEST_VBLANK_RACE (1 << 24)
#define TEST_SUSPEND (1 << 26)
-#define TEST_TS_CONT (1 << 27)
#define TEST_BO_TOOBIG (1 << 28)
#define TEST_BASIC (1 << 30)
@@ -497,21 +496,6 @@ static void check_state(const struct test_output *o, const struct event_state *e
"unexpected %s seq %u, should be >= %u\n",
es->name, es->current_seq, es->last_seq + o->seq_step);
- /* Check that the vblank frame didn't wrap unexpectedly. */
- if (o->flags & TEST_TS_CONT) {
- /* Ignore seq_step here since vblank waits time out immediately
- * when we kill the crtc. */
- 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 <= 150,
- "unexpected %s seq %u, should be < %u\n",
- 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);
- }
-
if (o->flags & TEST_CHECK_TS) {
double elapsed, expected;