This is already done in igt_display_commit* functions. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx> --- tests/kms_atomic_transition.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tests/kms_atomic_transition.c b/tests/kms_atomic_transition.c index a2470c0c3571..6e2b25da75db 100644 --- a/tests/kms_atomic_transition.c +++ b/tests/kms_atomic_transition.c @@ -367,14 +367,6 @@ static void configure_fencing(igt_display_t *display, enum pipe pipe) } } -static void clear_fencing(igt_display_t *display, enum pipe pipe) -{ - igt_plane_t *plane; - - for_each_plane_on_pipe(display, pipe, plane) - igt_plane_set_fence_fd(plane, -1); -} - static void atomic_commit(igt_display_t *display, enum pipe pipe, unsigned int flags, void *data, bool fencing) { if (fencing) { @@ -383,9 +375,6 @@ static void atomic_commit(igt_display_t *display, enum pipe pipe, unsigned int f } igt_display_commit_atomic(display, flags, data); - - if (fencing) - clear_fencing(display, pipe); } /* -- 2.11.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx