mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 18:06:13 +00:00
tests/kms_flip: Skip if no clone configuration could be found
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
bc888c2b42
commit
304c458d54
@ -1343,7 +1343,9 @@ static int run_pair(int duration, int flags)
|
||||
}
|
||||
}
|
||||
|
||||
igt_assert(modes);
|
||||
/* If we have fewer than 2 connected outputs then we won't have any
|
||||
* configuration at all. So skip in that case. */
|
||||
igt_require(modes);
|
||||
duration = duration * 1000 / modes;
|
||||
duration = duration < 500 ? 500 : duration;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user