kms_setmode: Add clone-single-crtc subtest
authorImre Deak <imre.deak@intel.com>
Wed, 5 Mar 2014 19:02:41 +0000 (21:02 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 5 Mar 2014 19:59:05 +0000 (21:59 +0200)
The clone-single-crtc will test various cloning scenarios.

Currently it does limit the number of simultanously cloned
connectors to the number of pipes in the system. That restriction
can be lifted in the future if desired.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
tests/kms_setmode.c

index c5e8630..593bc77 100644 (file)
@@ -690,6 +690,8 @@ int main(int argc, char **argv)
                enum test_flags flags;
                const char *name;
        } tests[] = {
+               { TEST_CLONE | TEST_SINGLE_CRTC_CLONE,
+                                       "clone-single-crtc" },
                { TEST_INVALID | TEST_CLONE | TEST_SINGLE_CRTC_CLONE,
                                        "invalid-clone-single-crtc" },
                { TEST_INVALID | TEST_CLONE | TEST_EXCLUSIVE_CRTC_CLONE,