mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-07-24 10:27:15 +00:00
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:
parent
5bb87dc0e5
commit
a09880d1c3
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user