[igt-dev] [PATCH i-g-t 3/3] igt: Switch warning to an info when not using i915
Zack Rusin
zack at kde.org
Tue Nov 29 17:27:18 UTC 2022
From: Zack Rusin <zackr at vmware.com>
Because igt always tries to load i915 driver first for DRIVER_ANY every
test using DRIVER_ANY on anything but i915 starts by printing a warning
that i915 couldn't be loaded.
Lets switch it to a general info line because it makes it hard to spot
actual warnings when every subtest starts by warning about not being
able to load i915.
Signed-off-by: Zack Rusin <zackr at vmware.com>
---
lib/igt_kmod.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/igt_kmod.c b/lib/igt_kmod.c
index bcf7dfeb..74924b5f 100644
--- a/lib/igt_kmod.c
+++ b/lib/igt_kmod.c
@@ -389,7 +389,7 @@ igt_i915_driver_load(const char *opts)
ret = igt_kmod_load("i915", opts);
if (ret) {
- igt_warn("Could not load i915\n");
+ igt_debug("Could not load i915\n");
return ret;
}
--
2.37.2
More information about the igt-dev
mailing list