]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915/selftests: Reduce the volume of the timeout message
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Nov 2017 10:11:10 +0000 (10:11 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Nov 2017 11:31:58 +0000 (11:31 +0000)
Originally it was anticipated that timeouts would be a rare event, and
so merit a warning that the test was incomplete. However, for igt we
keep the timeout low, and hitting the timeout is intentional. It no
longer necessitates a warning, but to be expected.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171110101110.12042-1-chris@chris-wilson.co.uk
Reviwed-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_selftest.h

index 78e1a1b168ff6127a9705c964a5b4950a9dd8a31..9766e806dce636aa2f14311d5a21d8e11658bdc1 100644 (file)
@@ -99,6 +99,6 @@ __printf(2, 3)
 bool __igt_timeout(unsigned long timeout, const char *fmt, ...);
 
 #define igt_timeout(t, fmt, ...) \
-       __igt_timeout((t), KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__)
+       __igt_timeout((t), KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
 
 #endif /* !__I915_SELFTEST_H__ */