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: Chris Wilson's avatarChris Wilson <>
Reviewed-by: Joonas Lahtinen's avatarJoonas Lahtinen <>
parent 7e07894d
......@@ -28,6 +28,10 @@ IGT_TEST_DESCRIPTION("Basic unit tests for i915.ko");
igt_kselftests("i915", "mock_selftests=-1", NULL, "mock");
igt_kselftests("i915", "live_selftests=-1", "live_selftests", "live");
"mock_selftests=-1 disable_display=1",
NULL, "mock");
"live_selftests=-1 disable_display=1",
"live_selftests", "live");
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment