  	unsigned int prop_count = 0;
  	struct pipe_arg *pipe_args = NULL;
  	struct plane_arg *plane_args = NULL;
-@@ -1999,6 +2000,9 @@ int main(int argc, char **argv)
+@@ -2148,6 +2149,9 @@ int main(int argc, char **argv)
  
  			prop_count++;
  			break;

 
 			if (drop_master)
 				drmDropMaster(dev.fd);
-- 
2.17.1


when a test is run

Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com>
Signed-off-by: Denys Dmytriyenko <denis@denix.org>

---
 tests/modetest/modetest.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c
index fc75383..8e59acc 100644
--- a/tests/modetest/modetest.c
+++ b/tests/modetest/modetest.c
@@ -1767,7 +1767,7 @@ static void clear_cursors(struct device *dev)
 		bo_destroy(dev->mode.cursor_bo);
 }
 
-static void test_page_flip(struct device *dev, struct pipe_arg *pipes, unsigned int count)
+static void test_page_flip(struct device *dev, struct pipe_arg *pipes, unsigned int count, int dont_stop)
 {
 	unsigned int other_fb_id;
 	struct bo *other_bo;
@@ -1825,7 +1825,7 @@ static void test_page_flip(struct device *dev, struct pipe_arg *pipes, unsigned
 		fd_set fds;
 
 		FD_ZERO(&fds);
