diff options
author | Abdiel Janulgue <abdiel.janulgue@linux.intel.com> | 2016-12-01 12:50:19 +0200 |
---|---|---|
committer | Abdiel Janulgue <abdiel.janulgue@linux.intel.com> | 2016-12-01 13:38:07 +0200 |
commit | 39d2eda23342e5a473563cf1c954246eb07529c7 (patch) | |
tree | b7d665d1b2ca89773a9ef9cfb6ca336fb1f4a009 /tests/kms_flip.c | |
parent | 1c7a50a07b9978fc6add73fec797979d9cf121f8 (diff) |
igt/kms_flip: Fix set_dpms called with an idle bo
Signed-off-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/kms_flip.c')
-rw-r--r-- | tests/kms_flip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/kms_flip.c b/tests/kms_flip.c index 289335ab..f744b3d2 100644 --- a/tests/kms_flip.c +++ b/tests/kms_flip.c @@ -757,9 +757,9 @@ static unsigned int run_test_step(struct test_output *o) if (o->flags & TEST_DPMS) { if (spin_rcs) - igt_spin_batch_end(spin_rcs); + igt_spin_batch_set_timeout(spin_rcs, NSEC_PER_SEC); if (spin_bcs) - igt_spin_batch_end(spin_bcs); + igt_spin_batch_set_timeout(spin_bcs, NSEC_PER_SEC); set_dpms(o, DRM_MODE_DPMS_ON); } |