drm/i915/selftests: Upgrade printing test/subtest name to pr_info
authorMichał Winiarski <michal.winiarski@intel.com>
Tue, 5 Mar 2019 14:47:17 +0000 (15:47 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 6 Mar 2019 11:36:36 +0000 (11:36 +0000)
We're using pr_debug for things that we don't really want to see in the
CI log, but we may find useful during test development.
Let's upgrade the test name printer - we do want to see those in CI log.

Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190305144717.10000-1-michal.winiarski@intel.com
drivers/gpu/drm/i915/selftests/i915_selftest.c

index 10ef0e636a247c985db45409f158800f310ad3cb..b18eaefef7982f465fa7648bf7148775e5aeeb53 100644 (file)
@@ -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
@@ -255,7 +255,7 @@ int __i915_subtests(const char *caller,
                if (!apply_subtest_filter(caller, st->name))
                        continue;
 
-               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);