[Intel-gfx] [PATCH] drm/i915/selftests: Log test and subtest names for easier debugging
Tvrtko Ursulin
tvrtko.ursulin at linux.intel.com
Tue Nov 20 17:28:39 UTC 2018
From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Since pr_debug is not printed by default, change both test and subtest
log messages to pr_info so they are always logged.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
---
drivers/gpu/drm/i915/selftests/i915_selftest.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/selftests/i915_selftest.c b/drivers/gpu/drm/i915/selftests/i915_selftest.c
index 86c54ea37f48..0fa4501c4599 100644
--- a/drivers/gpu/drm/i915/selftests/i915_selftest.c
+++ b/drivers/gpu/drm/i915/selftests/i915_selftest.c
@@ -133,7 +133,7 @@ static int __run_selftests(const char *name,
if (signal_pending(current))
return -EINTR;
- pr_debug(DRIVER_NAME ": Running %s\n", st->name);
+ pr_info(DRIVER_NAME ": Running %s\n", st->name);
if (data)
err = st->live(data);
else
@@ -209,7 +209,7 @@ int __i915_subtests(const char *caller,
if (signal_pending(current))
return -EINTR;
- pr_debug(DRIVER_NAME ": Running %s/%s\n", caller, st->name);
+ pr_info(DRIVER_NAME ": Running %s/%s\n", caller, st->name);
GEM_TRACE("Running %s/%s\n", caller, st->name);
err = st->func(data);
--
2.19.1
More information about the Intel-gfx
mailing list