Commit c325dd94 authored by Chris Wilson's avatar Chris Wilson 🤔

igt/drv_selftests: Disable initialising the display

Many of the selftests try to completely fill global resources; resources
that are presumed available for bringing up the display. Avoid the
contention by simply not bringing up the display!

This does limit the effectiveness of selftesting to GEM for the
time being. To exercise KMS from selftests we would essentially have to
always mock the displays.

References: https://bugs.freedesktop.org/show_bug.cgi?id=103718Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen's avatarJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
parent 7e07894d
......@@ -28,6 +28,10 @@ IGT_TEST_DESCRIPTION("Basic unit tests for i915.ko");
igt_main
{
igt_kselftests("i915", "mock_selftests=-1", NULL, "mock");
igt_kselftests("i915", "live_selftests=-1", "live_selftests", "live");
igt_kselftests("i915",
"mock_selftests=-1 disable_display=1",
NULL, "mock");
igt_kselftests("i915",
"live_selftests=-1 disable_display=1",
"live_selftests", "live");
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment