summaryrefslogtreecommitdiff
path: root/lib/igt_kmod.h
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 /lib/igt_kmod.h
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 'lib/igt_kmod.h')
-rw-r--r--lib/igt_kmod.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/igt_kmod.h b/lib/igt_kmod.h
index 3eb6a345..fc0e6fe6 100644
--- a/lib/igt_kmod.h
+++ b/lib/igt_kmod.h
@@ -37,6 +37,7 @@ int igt_i915_driver_unload(void);
void igt_kselftests(const char *module_name,
const char *module_options,
+ const char *result_option,
const char *filter);
#endif /* IGT_KMOD_H */