[igt-dev] [PATCH i-g-t] i915/pm_rpm: Include breadcrumbs in the kernel log before i915.ko reloads

Chris Wilson chris at chris-wilson.co.uk
Thu Sep 26 13:10:06 UTC 2019


Make it easier to discern in the noise of the module reload where each
begins.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti at intel.com>
---
 tests/i915/i915_pm_rpm.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/i915/i915_pm_rpm.c b/tests/i915/i915_pm_rpm.c
index a2bdabee2..f5f813c3d 100644
--- a/tests/i915/i915_pm_rpm.c
+++ b/tests/i915/i915_pm_rpm.c
@@ -2113,6 +2113,8 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
 	igt_subtest("module-reload") {
 		igt_debug("Reload w/o display\n");
 		igt_i915_driver_unload();
+
+		igt_kmsg(KMSG_INFO "Reloading i915 w/o display\n");
 		igt_assert_eq(igt_i915_driver_load("disable_display=1 mmio_debug=-1"), 0);
 
 		igt_assert(setup_environment());
@@ -2121,6 +2123,8 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
 
 		igt_debug("Reload as normal\n");
 		igt_i915_driver_unload();
+
+		igt_kmsg(KMSG_INFO "Reloading i915 as normal\n");
 		igt_assert_eq(igt_i915_driver_load("mmio_debug=-1"), 0);
 
 		igt_assert(setup_environment());
-- 
2.23.0



More information about the igt-dev mailing list