mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-24 16:26:13 +00:00
igt/kms_flip: Skip if headless
If there are no connectors, we cannot perform any pageflips and so we have nothing to test. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73640&list_id=446828 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
d0dc2c5b6a
commit
4d4f4b213c
@ -1370,7 +1370,6 @@ static int run_test(int duration, int flags)
|
||||
|
||||
igt_require((flags & TEST_HANG) == 0 || !is_hung(drm_fd));
|
||||
|
||||
|
||||
if (flags & TEST_RPM)
|
||||
igt_require(igt_setup_runtime_pm());
|
||||
|
||||
@ -1397,7 +1396,7 @@ static int run_test(int duration, int flags)
|
||||
}
|
||||
}
|
||||
|
||||
igt_assert(modes);
|
||||
igt_require(modes);
|
||||
duration = duration * 1000 / modes;
|
||||
duration = duration < 500 ? 500 : duration;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user