summaryrefslogtreecommitdiff
path: root/tests/drm_mm.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-12-22 18:05:16 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2016-12-22 18:09:48 +0000
commite6d52317724eaa7314f7d8e53b313f5a5676ecdf (patch)
tree74081b44ca2cd39002fbe62651668d99a19abf6d /tests/drm_mm.c
parentbc000862e8c6f05a2d960a5a300e1e1d6c8c7026 (diff)
lib/selftest: Query module parameter for error code.
"Live" selftesting of i915.ko happens during device probing which eats the error code and does not propagate it back to module loading. Workaround this by writing the error code back to the module parameter and probing it after a "successful" install. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/drm_mm.c')
-rw-r--r--tests/drm_mm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/drm_mm.c b/tests/drm_mm.c
index 9c49990c..2052b115 100644
--- a/tests/drm_mm.c
+++ b/tests/drm_mm.c
@@ -28,5 +28,5 @@ IGT_TEST_DESCRIPTION("Basic sanity check of DRM's range manager (struct drm_mm)"
igt_main
{
- igt_kselftests("test-drm_mm", NULL, NULL);
+ igt_kselftests("test-drm_mm", NULL, NULL, NULL);
}