diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-11-10 19:22:11 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-11-16 15:35:28 +0200 |
commit | a09880d1c38343148e824b6a54db3046fb32986d (patch) | |
tree | 6659bc857476f5ba63ccf6b84bb4bf67a3a94eaf | |
parent | 5bb87dc0e563fe9fd54dde7b38732d28c3d2fa2e (diff) |
tests/kms_flip: Modeset pipes in reverse order
To make more multi-pipe tests run on IVB, do the modesets in the reverse
order (ie. pipe C first, pipe A last). This way pipe B can't reserve the
2 shared FDI lanes before pipe C is set up.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
-rw-r--r-- | tests/kms_flip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_flip.c b/tests/kms_flip.c index 8bba1218..c1ff2e02 100644 --- a/tests/kms_flip.c +++ b/tests/kms_flip.c @@ -853,7 +853,7 @@ static int set_mode(struct test_output *o, uint32_t fb, int x, int y) { int n; - for (n = 0; n < o->count; n++) { + for (n = o->count - 1; n >= 0; n--) { if (fb == 0) { int ret = drmModeSetCrtc(drm_fd, o->_crtc[n], 0, 0, 0, |