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>
This commit is contained in:
Ville Syrjälä 2015-11-10 19:22:11 +02:00
parent 5bb87dc0e5
commit a09880d1c3

View File

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