* [PATCH i-g-t] i915/pm_rpm: Include breadcrumbs in the kernel log before i915.ko reloads
@ 2019-09-26 13:10 Chris Wilson
2019-09-26 13:17 ` Andi Shyti
0 siblings, 1 reply; 2+ messages in thread
From: Chris Wilson @ 2019-09-26 13:10 UTC (permalink / raw)
To: intel-gfx; +Cc: igt-dev
Make it easier to discern in the noise of the module reload where each
begins.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti@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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH i-g-t] i915/pm_rpm: Include breadcrumbs in the kernel log before i915.ko reloads
2019-09-26 13:10 [PATCH i-g-t] i915/pm_rpm: Include breadcrumbs in the kernel log before i915.ko reloads Chris Wilson
@ 2019-09-26 13:17 ` Andi Shyti
0 siblings, 0 replies; 2+ messages in thread
From: Andi Shyti @ 2019-09-26 13:17 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev, intel-gfx
Hi Chris,
On Thu, Sep 26, 2019 at 02:10:06PM +0100, Chris Wilson wrote:
> Make it easier to discern in the noise of the module reload where each
> begins.
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Andi Shyti <andi.shyti@intel.com>
thanks for this patch!
Acked-by: Andi Shyti <andi.shyti@intel.com>
Andi
> ---
> 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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-09-26 13:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-26 13:10 [PATCH i-g-t] i915/pm_rpm: Include breadcrumbs in the kernel log before i915.ko reloads Chris Wilson
2019-09-26 13:17 ` Andi Shyti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox