kms_setmode: Add clone-single-crtc subtest

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>
This commit is contained in:
Imre Deak 2014-03-05 21:02:41 +02:00 committed by Ville Syrjälä
parent a3b80912a9
commit cdf74b69c9

View 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,