summaryrefslogtreecommitdiff
path: root/tests/kms_flip.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2017-11-01 14:03:17 +0100
committerMaarten Lankhorst <maarten.lankhorst@ubuntu.com>2017-11-15 10:37:17 +0100
commit88d6550795fad3974d77e4db2f563c5e2e8872e1 (patch)
tree2c62194b42dab15a33ed4238c5c50926f21df305 /tests/kms_flip.c
parentf370d5903689f37620e006f004a91d6bdeac7c16 (diff)
Revert "tests/kms_flip: Make flip-vs-panning-vs-hang change DSPSURF"
This reverts commit 7296e09ee7f17e6d564e52cf64ee900670849429. This commit was accidentally applied twice, the first time in commit e4ba3b75e6de35483b2edea21ceda145ef0b3311. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> CC: Daniel Vetter <daniel.vetter@ffwll.ch> #irc
Diffstat (limited to 'tests/kms_flip.c')
-rw-r--r--tests/kms_flip.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index acf4d99d..4d5579e4 100644
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -833,10 +833,6 @@ static unsigned int run_test_step(struct test_output *o)
if (o->flags & TEST_HANG)
o->current_fb_id = !o->current_fb_id;
- /* Make sure DSPSURF changes value */
- if (o->flags & TEST_HANG)
- o->current_fb_id = !o->current_fb_id;
-
igt_assert_f(set_mode(o, o->fb_ids[o->current_fb_id], x_ofs, 0) == 0,
"failed to pan (%dx%d@%dHz)+%d: %s\n",
o->kmode[0].hdisplay, o->kmode[0].vdisplay, o->kmode[0].vrefresh,