From: Ville Syrjälä <ville.syrj...@linux.intel.com>

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.syrj...@linux.intel.com>
---
 tests/kms_flip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index 632f264..23dadad 100644
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -869,7 +869,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,
-- 
2.4.10

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to