test/flip_test: don't fail if we can't find a crtc
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 22 May 2012 17:55:21 +0000 (19:55 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 23 Jul 2012 11:38:40 +0000 (13:38 +0200)
some connectors are forced to certain crcs ...

tests/flip_test.c

index a328768..a6eb0c0 100644 (file)
@@ -165,6 +165,7 @@ static void connector_find_preferred_mode(struct test_output *o, int crtc_id)
 
        if (!o->crtc) {
                fprintf(stderr, "could not find requested crtc %d\n", crtc_id);
+               o->mode_valid = 0;
                return;
        }