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>
igt_require((flags & TEST_HANG) == 0 || !is_hung(drm_fd));
-
if (flags & TEST_RPM)
igt_require(igt_setup_runtime_pm());
}
}
- igt_assert(modes);
+ igt_require(modes);
duration = duration * 1000 / modes;
duration = duration < 500 ? 500 : duration;