diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-11-30 21:41:10 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-12-04 14:35:38 +0000 |
commit | c325dd948b4e4e9fe0cc7d612f2101fb3804de5c (patch) | |
tree | ca699600fe18cfabbf181eb1a41bcdae6af67173 | |
parent | 7e07894d8b0f567cb4241b5bed8a9644874ddd47 (diff) |
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=103718
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
-rw-r--r-- | tests/drv_selftest.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/drv_selftest.c b/tests/drv_selftest.c index 96dd8bf1..80e515c6 100644 --- a/tests/drv_selftest.c +++ b/tests/drv_selftest.c @@ -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"); } |